@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
|
void |
setResourceIdentifier(String resourceIdentifier)
The identifier of the requested resource
|
void |
setResourceType(String resourceType)
The resource type
|
ConflictException |
withResourceIdentifier(String resourceIdentifier)
The identifier of the requested resource
|
ConflictException |
withResourceType(ResourceType resourceType)
The resource type
|
ConflictException |
withResourceType(String resourceType)
The resource type
|
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