@Generated(value="software.amazon.awssdk:codegen") public final class ResourceNotFoundException extends EbsException implements ToCopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>
The specified resource does not exist.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceNotFoundException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceNotFoundException.Builder |
builder() |
ResourceNotFoundExceptionReason |
reason()
The reason for the exception.
|
String |
reasonAsString()
The reason for the exception.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceNotFoundException.Builder> |
serializableBuilderClass() |
ResourceNotFoundException.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 ResourceNotFoundException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>toBuilder in class EbsExceptionpublic static ResourceNotFoundException.Builder builder()
public static Class<? extends ResourceNotFoundException.Builder> serializableBuilderClass()
public ResourceNotFoundExceptionReason 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 ResourceNotFoundExceptionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from reasonAsString().
ResourceNotFoundExceptionReasonpublic 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 ResourceNotFoundExceptionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from reasonAsString().
ResourceNotFoundExceptionReasonCopyright © 2023. All rights reserved.