@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceExistsException extends AmazonQuickSightException
The resource specified 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 |
getRequestId()
The Amazon Web Services request ID for this request.
|
String |
getResourceType()
The resource type for this request.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this request.
|
void |
setResourceType(String resourceType)
The resource type for this request.
|
ResourceExistsException |
withRequestId(String requestId)
The Amazon Web Services request ID for this request.
|
ResourceExistsException |
withResourceType(ExceptionResourceType resourceType)
The resource type for this request.
|
ResourceExistsException |
withResourceType(String resourceType)
The resource type for this request.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, 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 for this request.
resourceType - The resource type for this request.ExceptionResourceTypepublic String getResourceType()
The resource type for this request.
ExceptionResourceTypepublic ResourceExistsException withResourceType(String resourceType)
The resource type for this request.
resourceType - The resource type for this request.ExceptionResourceTypepublic ResourceExistsException withResourceType(ExceptionResourceType resourceType)
The resource type for this request.
resourceType - The resource type for this request.ExceptionResourceTypepublic void setRequestId(String requestId)
The Amazon Web Services request ID for this request.
setRequestId in class AmazonServiceExceptionrequestId - The Amazon Web Services request ID for this request.public String getRequestId()
The Amazon Web Services request ID for this request.
getRequestId in class AmazonServiceExceptionpublic ResourceExistsException withRequestId(String requestId)
The Amazon Web Services request ID for this request.
requestId - The Amazon Web Services request ID for this request.