@Generated(value="software.amazon.awssdk:codegen") public final class ResourceNotFoundException extends PinpointSmsVoiceV2Exception implements ToCopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>
A requested resource couldn't be found.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceNotFoundException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceNotFoundException.Builder |
builder() |
String |
resourceId()
The unique identifier of the resource.
|
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 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 PinpointSmsVoiceV2Exceptionpublic static ResourceNotFoundException.Builder builder()
public static Class<? extends ResourceNotFoundException.Builder> serializableBuilderClass()
public 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 resource.
Copyright © 2023. All rights reserved.