@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictException extends AWSARCZonalShiftException
The request could not be processed because of conflict in the current state of the resource.
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 conflict exception.
|
String |
getZonalShiftId()
The zonal shift ID associated with the conflict exception.
|
void |
setReason(String reason)
The reason for the conflict exception.
|
void |
setZonalShiftId(String zonalShiftId)
The zonal shift ID associated with the conflict exception.
|
ConflictException |
withReason(ConflictExceptionReason reason)
The reason for the conflict exception.
|
ConflictException |
withReason(String reason)
The reason for the conflict exception.
|
ConflictException |
withZonalShiftId(String zonalShiftId)
The zonal shift ID associated with the conflict exception.
|
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 setReason(String reason)
The reason for the conflict exception.
reason
- The reason for the conflict exception.ConflictExceptionReason
public String getReason()
The reason for the conflict exception.
ConflictExceptionReason
public ConflictException withReason(String reason)
The reason for the conflict exception.
reason
- The reason for the conflict exception.ConflictExceptionReason
public ConflictException withReason(ConflictExceptionReason reason)
The reason for the conflict exception.
reason
- The reason for the conflict exception.ConflictExceptionReason
public void setZonalShiftId(String zonalShiftId)
The zonal shift ID associated with the conflict exception.
zonalShiftId
- The zonal shift ID associated with the conflict exception.public String getZonalShiftId()
The zonal shift ID associated with the conflict exception.
public ConflictException withZonalShiftId(String zonalShiftId)
The zonal shift ID associated with the conflict exception.
zonalShiftId
- The zonal shift ID associated with the conflict exception.