@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceAlreadyExistsException extends AWSIotException
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 that caused the exception.
|
String |
getResourceId()
The ID of the resource that caused the exception.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource that caused the exception.
|
void |
setResourceId(String resourceId)
The ID of the resource that caused the exception.
|
ResourceAlreadyExistsException |
withResourceArn(String resourceArn)
The ARN of the resource that caused the exception.
|
ResourceAlreadyExistsException |
withResourceId(String resourceId)
The ID of the resource that caused the exception.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, 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 that caused the exception.
resourceId
- The ID of the resource that caused the exception.public String getResourceId()
The ID of the resource that caused the exception.
public ResourceAlreadyExistsException withResourceId(String resourceId)
The ID of the resource that caused the exception.
resourceId
- The ID of the resource that caused the exception.public void setResourceArn(String resourceArn)
The ARN of the resource that caused the exception.
resourceArn
- The ARN of the resource that caused the exception.public String getResourceArn()
The ARN of the resource that caused the exception.
public ResourceAlreadyExistsException withResourceArn(String resourceArn)
The ARN of the resource that caused the exception.
resourceArn
- The ARN of the resource that caused the exception.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.