@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, 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)
The resource type for this request.
resourceType
- The resource type for this request.ExceptionResourceType
public String getResourceType()
The resource type for this request.
ExceptionResourceType
public ResourceExistsException withResourceType(String resourceType)
The resource type for this request.
resourceType
- The resource type for this request.ExceptionResourceType
public ResourceExistsException withResourceType(ExceptionResourceType resourceType)
The resource type for this request.
resourceType
- The resource type for this request.ExceptionResourceType
public void setRequestId(String requestId)
The Amazon Web Services request ID for this request.
setRequestId
in class AmazonServiceException
requestId
- The Amazon Web Services request ID for this request.public String getRequestId()
The Amazon Web Services request ID for this request.
getRequestId
in class AmazonServiceException
public ResourceExistsException withRequestId(String requestId)
The Amazon Web Services request ID for this request.
requestId
- The Amazon Web Services request ID for this request.