@Generated(value="software.amazon.awssdk:codegen") public final class ResourceNotFoundException extends VoiceIdException implements ToCopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>
The specified resource cannot be found. Check the ResourceType and error message for more details.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceNotFoundException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceNotFoundException.Builder |
builder() |
ResourceType |
resourceType()
The type of resource which cannot not be found.
|
String |
resourceTypeAsString()
The type of resource which cannot not be found.
|
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 VoiceIdExceptionpublic static ResourceNotFoundException.Builder builder()
public static Class<? extends ResourceNotFoundException.Builder> serializableBuilderClass()
public ResourceType resourceType()
The type of resource which cannot not be found. Possible types are BATCH_JOB,
COMPLIANCE_CONSENT, DOMAIN, FRAUDSTER, SESSION and
SPEAKER.
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().
BATCH_JOB,
COMPLIANCE_CONSENT, DOMAIN, FRAUDSTER, SESSION and
SPEAKER.ResourceTypepublic String resourceTypeAsString()
The type of resource which cannot not be found. Possible types are BATCH_JOB,
COMPLIANCE_CONSENT, DOMAIN, FRAUDSTER, SESSION and
SPEAKER.
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().
BATCH_JOB,
COMPLIANCE_CONSENT, DOMAIN, FRAUDSTER, SESSION and
SPEAKER.ResourceTypeCopyright © 2022. All rights reserved.