@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictException extends AWSmgnException
The request could not be completed due to a conflict with the current state of the target 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 |
getCode() |
List<ErrorDetails> |
getErrors()
Conflict Exception specific errors.
|
String |
getResourceId()
A conflict occurred when prompting for the Resource ID.
|
String |
getResourceType()
A conflict occurred when prompting for resource type.
|
void |
setCode(String code) |
void |
setErrors(Collection<ErrorDetails> errors)
Conflict Exception specific errors.
|
void |
setResourceId(String resourceId)
A conflict occurred when prompting for the Resource ID.
|
void |
setResourceType(String resourceType)
A conflict occurred when prompting for resource type.
|
ConflictException |
withCode(String code) |
ConflictException |
withErrors(Collection<ErrorDetails> errors)
Conflict Exception specific errors.
|
ConflictException |
withErrors(ErrorDetails... errors)
Conflict Exception specific errors.
|
ConflictException |
withResourceId(String resourceId)
A conflict occurred when prompting for the Resource ID.
|
ConflictException |
withResourceType(String resourceType)
A conflict occurred when prompting for resource type.
|
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 setCode(String code)
code - public String getCode()
public ConflictException withCode(String code)
code - public List<ErrorDetails> getErrors()
Conflict Exception specific errors.
public void setErrors(Collection<ErrorDetails> errors)
Conflict Exception specific errors.
errors - Conflict Exception specific errors.public ConflictException withErrors(ErrorDetails... errors)
Conflict Exception specific errors.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection) or withErrors(java.util.Collection) if you want to override the
existing values.
errors - Conflict Exception specific errors.public ConflictException withErrors(Collection<ErrorDetails> errors)
Conflict Exception specific errors.
errors - Conflict Exception specific errors.public void setResourceId(String resourceId)
A conflict occurred when prompting for the Resource ID.
resourceId - A conflict occurred when prompting for the Resource ID.public String getResourceId()
A conflict occurred when prompting for the Resource ID.
public ConflictException withResourceId(String resourceId)
A conflict occurred when prompting for the Resource ID.
resourceId - A conflict occurred when prompting for the Resource ID.public void setResourceType(String resourceType)
A conflict occurred when prompting for resource type.
resourceType - A conflict occurred when prompting for resource type.public String getResourceType()
A conflict occurred when prompting for resource type.
public ConflictException withResourceType(String resourceType)
A conflict occurred when prompting for resource type.
resourceType - A conflict occurred when prompting for resource type.