Serializable
, ToCopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>
@Generated("software.amazon.awssdk:codegen") public class ResourceInUseException extends LexModelBuildingException implements ToCopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>
The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.
The body of the exception contains a JSON object that describes the resource.
{ "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,
"resourceReference": {
"name": string, "version": string } }
Modifier and Type | Class | Description |
---|---|---|
static interface |
ResourceInUseException.Builder |
AmazonServiceException.ErrorType
Modifier and Type | Method | Description |
---|---|---|
static ResourceInUseException.Builder |
builder() |
|
ResourceReference |
exampleReference() |
|
String |
referenceType() |
|
static Class<? extends ResourceInUseException.Builder> |
serializableBuilderClass() |
|
ResourceInUseException.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
isRetryable
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceInUseException.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>
public static ResourceInUseException.Builder builder()
public static Class<? extends ResourceInUseException.Builder> serializableBuilderClass()
public String referenceType()
ReferenceType
public ResourceReference exampleReference()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.