@Generated(value="software.amazon.awssdk:codegen") public final class ResourceNotFoundException extends VerifiedPermissionsException implements ToCopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>
The request failed because it references a resource that doesn't exist.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceNotFoundException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceNotFoundException.Builder |
builder() |
String |
resourceId()
The unique ID of the resource referenced in the failed request.
|
ResourceType |
resourceType()
The resource type of the resource referenced in the failed request.
|
String |
resourceTypeAsString()
The resource type of the resource referenced in the failed request.
|
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 VerifiedPermissionsExceptionpublic static ResourceNotFoundException.Builder builder()
public static Class<? extends ResourceNotFoundException.Builder> serializableBuilderClass()
public String resourceId()
The unique ID of the resource referenced in the failed request.
public ResourceType resourceType()
The resource type of the resource referenced in the failed request.
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 resource type of the resource referenced in the failed request.
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().
ResourceTypeCopyright © 2023. All rights reserved.