@Generated(value="software.amazon.awssdk:codegen") public final class ConflictException extends PinpointSmsVoiceV2Exception implements ToCopyableBuilder<ConflictException.Builder,ConflictException>
Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConflictException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConflictException.Builder |
builder() |
ConflictExceptionReason |
reason()
The reason for the exception.
|
String |
reasonAsString()
The reason for the exception.
|
String |
resourceId()
The unique identifier of the request.
|
ResourceType |
resourceType()
The type of resource that caused the exception.
|
String |
resourceTypeAsString()
The type of resource that caused the exception.
|
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 PinpointSmsVoiceV2Exceptionpublic static ConflictException.Builder builder()
public static Class<? extends ConflictException.Builder> serializableBuilderClass()
public ConflictExceptionReason reason()
The reason 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()
The reason 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 ResourceType resourceType()
The type of resource that caused the exception.
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 resource that caused the exception.
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 resourceId()
The unique identifier of the request.
Copyright © 2023. All rights reserved.