@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictException extends AmazonVerifiedPermissionsException
The request failed because another request to modify a resource occurred at the same.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ConflictException(String message)
Constructs a new ConflictException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
List<ResourceConflict> |
getResources()
The list of resources referenced with this failed request.
|
void |
setResources(Collection<ResourceConflict> resources)
The list of resources referenced with this failed request.
|
ConflictException |
withResources(Collection<ResourceConflict> resources)
The list of resources referenced with this failed request.
|
ConflictException |
withResources(ResourceConflict... resources)
The list of resources referenced with this failed request.
|
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 List<ResourceConflict> getResources()
The list of resources referenced with this failed request.
public void setResources(Collection<ResourceConflict> resources)
The list of resources referenced with this failed request.
resources
- The list of resources referenced with this failed request.public ConflictException withResources(ResourceConflict... resources)
The list of resources referenced with this failed request.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- The list of resources referenced with this failed request.public ConflictException withResources(Collection<ResourceConflict> resources)
The list of resources referenced with this failed request.
resources
- The list of resources referenced with this failed request.