@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictException extends AmazonSecurityLakeException
Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ConflictException(String message)
Constructs a new ConflictException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getResourceName()
The resource name.
|
String |
getResourceType()
The resource type.
|
void |
setResourceName(String resourceName)
The resource name.
|
void |
setResourceType(String resourceType)
The resource type.
|
ConflictException |
withResourceName(String resourceName)
The resource name.
|
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 setResourceName(String resourceName)
The resource name.
resourceName
- The resource name.public String getResourceName()
The resource name.
public ConflictException withResourceName(String resourceName)
The resource name.
resourceName
- The resource name.public void setResourceType(String resourceType)
The resource type.
resourceType
- The resource type.public String getResourceType()
The resource type.
public ConflictException withResourceType(String resourceType)
The resource type.
resourceType
- The resource type.