@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceAlreadyExistsException extends AWSIoTEventsException
The resource already exists.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceAlreadyExistsException(String message)
Constructs a new ResourceAlreadyExistsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getResourceArn()
The ARN of the resource.
|
String |
getResourceId()
The ID of the resource.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource.
|
void |
setResourceId(String resourceId)
The ID of the resource.
|
ResourceAlreadyExistsException |
withResourceArn(String resourceArn)
The ARN of the resource.
|
ResourceAlreadyExistsException |
withResourceId(String resourceId)
The ID of the resource.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceAlreadyExistsException(String message)
message
- Describes the error encountered.public void setResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public String getResourceId()
The ID of the resource.
public ResourceAlreadyExistsException withResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public void setResourceArn(String resourceArn)
The ARN of the resource.
resourceArn
- The ARN of the resource.public String getResourceArn()
The ARN of the resource.
public ResourceAlreadyExistsException withResourceArn(String resourceArn)
The ARN of the resource.
resourceArn
- The ARN of the resource.