@Generated(value="software.amazon.awssdk:codegen") public final class ConflictException extends CleanRoomsException implements ToCopyableBuilder<ConflictException.Builder,ConflictException>
Updating or deleting a resource can cause an inconsistent state.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConflictException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConflictException.Builder |
builder() |
ConflictExceptionReason |
reason()
A reason code for the exception.
|
String |
reasonAsString()
A reason code for the exception.
|
String |
resourceId()
The ID of the conflicting resource.
|
ResourceType |
resourceType()
The type of the conflicting resource.
|
String |
resourceTypeAsString()
The type of the conflicting resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConflictException.Builder> |
serializableBuilderClass() |
ConflictException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic ConflictException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConflictException.Builder,ConflictException>toBuilder in class CleanRoomsExceptionpublic static ConflictException.Builder builder()
public static Class<? extends ConflictException.Builder> serializableBuilderClass()
public String resourceId()
The ID of the conflicting resource.
public ResourceType resourceType()
The type of the conflicting resource.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
ResourceTypepublic String resourceTypeAsString()
The type of the conflicting resource.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
ResourceTypepublic ConflictExceptionReason reason()
A reason code for the exception.
If the service returns an enum value that is not available in the current SDK version, reason will
return ConflictExceptionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from reasonAsString().
ConflictExceptionReasonpublic String reasonAsString()
A reason code for the exception.
If the service returns an enum value that is not available in the current SDK version, reason will
return ConflictExceptionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from reasonAsString().
ConflictExceptionReasonCopyright © 2023. All rights reserved.