@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, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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 typeResourceType
public String getResourceType()
The resource type
ResourceType
public ConflictException withResourceType(String resourceType)
The resource type
resourceType
- The resource typeResourceType
public ConflictException withResourceType(ResourceType resourceType)
The resource type
resourceType
- The resource typeResourceType
public 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