@Generated(value="software.amazon.awssdk:codegen") public final class OptimisticLockException extends ShieldException implements ToCopyableBuilder<OptimisticLockException.Builder,OptimisticLockException>
Exception that indicates that the resource state has been modified by another client. Retrieve the resource and then retry your request.
Modifier and Type | Class and Description |
---|---|
static interface |
OptimisticLockException.Builder |
Modifier and Type | Method and Description |
---|---|
static OptimisticLockException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends OptimisticLockException.Builder> |
serializableBuilderClass() |
OptimisticLockException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
extendedRequestId, requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
equalsBySdkFields
public OptimisticLockException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<OptimisticLockException.Builder,OptimisticLockException>
toBuilder
in class ShieldException
public static OptimisticLockException.Builder builder()
public static Class<? extends OptimisticLockException.Builder> serializableBuilderClass()