public class ResourceAlreadyExistsException extends AmazonServiceException
The resource already exists.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceAlreadyExistsException(java.lang.String message)
Constructs a new ResourceAlreadyExistsException with the specified error
message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResourceArn()
The ARN of the resource that caused the exception.
|
java.lang.String |
getResourceId()
The ID of the resource that caused the exception.
|
void |
setResourceArn(java.lang.String resourceArn)
The ARN of the resource that caused the exception.
|
void |
setResourceId(java.lang.String resourceId)
The ID of the resource that caused the exception.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCode
isRetryable
public ResourceAlreadyExistsException(java.lang.String message)
message
- Describes the error encountered.public java.lang.String getResourceId()
The ID of the resource that caused the exception.
The ID of the resource that caused the exception.
public void setResourceId(java.lang.String resourceId)
The ID of the resource that caused the exception.
resourceId
- The ID of the resource that caused the exception.
public java.lang.String getResourceArn()
The ARN of the resource that caused the exception.
The ARN of the resource that caused the exception.
public void setResourceArn(java.lang.String resourceArn)
The ARN of the resource that caused the exception.
resourceArn
- The ARN of the resource that caused the exception.
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.