@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictException extends AWSIdentityStoreException
This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
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()
This request cannot be completed for one of the following reasons:
|
String |
getRequestId()
The identifier for each request.
|
void |
setReason(String reason)
This request cannot be completed for one of the following reasons:
|
void |
setRequestId(String requestId)
The identifier for each request.
|
ConflictException |
withReason(ConflictExceptionReason reason)
This request cannot be completed for one of the following reasons:
|
ConflictException |
withReason(String reason)
This request cannot be completed for one of the following reasons:
|
ConflictException |
withRequestId(String requestId)
The identifier for each request.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, 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 setRequestId(String requestId)
The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.
setRequestId
in class AmazonServiceException
requestId
- The identifier for each request. This value is a globally unique ID that is generated by the identity
store service for each sent request, and is then returned inside the exception if the request fails.public String getRequestId()
The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.
getRequestId
in class AmazonServiceException
public ConflictException withRequestId(String requestId)
The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.
requestId
- The identifier for each request. This value is a globally unique ID that is generated by the identity
store service for each sent request, and is then returned inside the exception if the request fails.public void setReason(String reason)
This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
reason
- This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
ConflictExceptionReason
public String getReason()
This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
ConflictExceptionReason
public ConflictException withReason(String reason)
This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
reason
- This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
ConflictExceptionReason
public ConflictException withReason(ConflictExceptionReason reason)
This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
reason
- This request cannot be completed for one of the following reasons:
Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.
The requested resource was being concurrently modified by another request.
ConflictExceptionReason
Copyright © 2024. All rights reserved.