@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictException extends AWSSSMIncidentsException
Updating or deleting a resource causes an inconsistent state.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
ConflictException(String message)
Constructs a new ConflictException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceIdentifier()
The identifier of the requested resource
|
String |
getResourceType()
The resource type
|
Date |
getRetryAfter()
If present in the output, the operation can be retried after this time
|
void |
setResourceIdentifier(String resourceIdentifier)
The identifier of the requested resource
|
void |
setResourceType(String resourceType)
The resource type
|
void |
setRetryAfter(Date retryAfter)
If present in the output, the operation can be retried after this time
|
ConflictException |
withResourceIdentifier(String resourceIdentifier)
The identifier of the requested resource
|
ConflictException |
withResourceType(ResourceType resourceType)
The resource type
|
ConflictException |
withResourceType(String resourceType)
The resource type
|
ConflictException |
withRetryAfter(Date retryAfter)
If present in the output, the operation can be retried after this time
|
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 ConflictException(String message)
message - Describes the error encountered.public void setResourceIdentifier(String resourceIdentifier)
The identifier of the requested resource
resourceIdentifier - The identifier of the requested resourcepublic String getResourceIdentifier()
The identifier of the requested resource
public ConflictException withResourceIdentifier(String resourceIdentifier)
The identifier of the requested resource
resourceIdentifier - The identifier of the requested resourcepublic void setResourceType(String resourceType)
The resource type
resourceType - The resource typeResourceTypepublic String getResourceType()
The resource type
ResourceTypepublic ConflictException withResourceType(String resourceType)
The resource type
resourceType - The resource typeResourceTypepublic ConflictException withResourceType(ResourceType resourceType)
The resource type
resourceType - The resource typeResourceTypepublic void setRetryAfter(Date retryAfter)
If present in the output, the operation can be retried after this time
retryAfter - If present in the output, the operation can be retried after this timepublic Date getRetryAfter()
If present in the output, the operation can be retried after this time
public ConflictException withRetryAfter(Date retryAfter)
If present in the output, the operation can be retried after this time
retryAfter - If present in the output, the operation can be retried after this time