@Generated(value="software.amazon.awssdk:codegen") public final class ResourceInUseException extends ConnectException implements ToCopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>
That resource is already in use. Please try another.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceInUseException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceInUseException.Builder |
builder() |
String |
resourceId()
The identifier for the resource.
|
ResourceType |
resourceType()
The type of resource.
|
String |
resourceTypeAsString()
The type of resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceInUseException.Builder> |
serializableBuilderClass() |
ResourceInUseException.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 ResourceInUseException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>toBuilder in class ConnectExceptionpublic static ResourceInUseException.Builder builder()
public static Class<? extends ResourceInUseException.Builder> serializableBuilderClass()
public ResourceType resourceType()
The type of 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 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 resourceId()
The identifier for the resource.
Copyright © 2022. All rights reserved.