@Generated(value="software.amazon.awssdk:codegen") public final class ResourceNotFoundException extends CodeartifactException implements ToCopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>
The operation did not succeed because the resource requested is not found in the service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceNotFoundException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceNotFoundException.Builder |
builder() |
String |
resourceId()
The ID of the resource.
|
ResourceType |
resourceType()
The type of Amazon Web Services resource.
|
String |
resourceTypeAsString()
The type of Amazon Web Services resource.
|
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 CodeartifactExceptionpublic static ResourceNotFoundException.Builder builder()
public static Class<? extends ResourceNotFoundException.Builder> serializableBuilderClass()
public String resourceId()
The ID of the resource.
public ResourceType resourceType()
The type of Amazon Web Services resource.
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 Amazon Web Services resource.
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.