@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceExistsException extends AmazonRoute53ResolverException
The resource that you tried to create already exists.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceExistsException(String message)
Constructs a new ResourceExistsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getResourceType()
For a
ResourceExistsException error, the type of resource that the error applies to. |
void |
setResourceType(String resourceType)
For a
ResourceExistsException error, the type of resource that the error applies to. |
ResourceExistsException |
withResourceType(String resourceType)
For a
ResourceExistsException error, the type of resource that the error applies to. |
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 ResourceExistsException(String message)
message
- Describes the error encountered.public void setResourceType(String resourceType)
For a ResourceExistsException
error, the type of resource that the error applies to.
resourceType
- For a ResourceExistsException
error, the type of resource that the error applies to.public String getResourceType()
For a ResourceExistsException
error, the type of resource that the error applies to.
ResourceExistsException
error, the type of resource that the error applies to.public ResourceExistsException withResourceType(String resourceType)
For a ResourceExistsException
error, the type of resource that the error applies to.
resourceType
- For a ResourceExistsException
error, the type of resource that the error applies to.