@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceExistsException extends AWSRoute53ProfilesException
The resource you are trying to associate, has already been associated.
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()
The resource type that caused the resource exists exception.
|
void |
setResourceType(String resourceType)
The resource type that caused the resource exists exception.
|
ResourceExistsException |
withResourceType(String resourceType)
The resource type that caused the resource exists exception.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ResourceExistsException(String message)
message - Describes the error encountered.public void setResourceType(String resourceType)
The resource type that caused the resource exists exception.
resourceType - The resource type that caused the resource exists exception.public String getResourceType()
The resource type that caused the resource exists exception.
public ResourceExistsException withResourceType(String resourceType)
The resource type that caused the resource exists exception.
resourceType - The resource type that caused the resource exists exception.