@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourcePreconditionNotMetException extends AmazonQLDBException
The operation failed because a condition wasn't satisfied in advance.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourcePreconditionNotMetException(String message)
Constructs a new ResourcePreconditionNotMetException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getResourceName()
The name of the resource.
|
String |
getResourceType()
The type of resource.
|
void |
setResourceName(String resourceName)
The name of the resource.
|
void |
setResourceType(String resourceType)
The type of resource.
|
ResourcePreconditionNotMetException |
withResourceName(String resourceName)
The name of the resource.
|
ResourcePreconditionNotMetException |
withResourceType(String resourceType)
The type of resource.
|
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 ResourcePreconditionNotMetException(String message)
message
- Describes the error encountered.public void setResourceType(String resourceType)
The type of resource.
resourceType
- The type of resource.public String getResourceType()
The type of resource.
public ResourcePreconditionNotMetException withResourceType(String resourceType)
The type of resource.
resourceType
- The type of resource.public void setResourceName(String resourceName)
The name of the resource.
resourceName
- The name of the resource.public String getResourceName()
The name of the resource.
public ResourcePreconditionNotMetException withResourceName(String resourceName)
The name of the resource.
resourceName
- The name of the resource.