@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceAlreadyExistsException extends AWSIoTSiteWiseException
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 already exists.
|
String |
getResourceId()
The ID of the resource that already exists.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource that already exists.
|
void |
setResourceId(String resourceId)
The ID of the resource that already exists.
|
ResourceAlreadyExistsException |
withResourceArn(String resourceArn)
The ARN of the resource that already exists.
|
ResourceAlreadyExistsException |
withResourceId(String resourceId)
The ID of the resource that already exists.
|
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 that already exists.
resourceId
- The ID of the resource that already exists.public String getResourceId()
The ID of the resource that already exists.
public ResourceAlreadyExistsException withResourceId(String resourceId)
The ID of the resource that already exists.
resourceId
- The ID of the resource that already exists.public void setResourceArn(String resourceArn)
The ARN of the resource that already exists.
resourceArn
- The ARN of the resource that already exists.public String getResourceArn()
The ARN of the resource that already exists.
public ResourceAlreadyExistsException withResourceArn(String resourceArn)
The ARN of the resource that already exists.
resourceArn
- The ARN of the resource that already exists.