@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictException extends AmazonRecycleBinException
The specified retention rule lock request can't be completed.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| ConflictException(String message)Constructs a new ConflictException with the specified error message. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getReason()
 The reason for the exception. | 
| void | setReason(String reason)
 The reason for the exception. | 
| ConflictException | withReason(ConflictExceptionReason reason)
 The reason for the exception. | 
| ConflictException | withReason(String reason)
 The reason for the exception. | 
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 setReason(String reason)
The reason for the exception.
reason - The reason for the exception.ConflictExceptionReasonpublic String getReason()
The reason for the exception.
ConflictExceptionReasonpublic ConflictException withReason(String reason)
The reason for the exception.
reason - The reason for the exception.ConflictExceptionReasonpublic ConflictException withReason(ConflictExceptionReason reason)
The reason for the exception.
reason - The reason for the exception.ConflictExceptionReason