@Generated(value="software.amazon.awssdk:codegen") public final class AccessDeniedException extends InspectorException implements ToCopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>
You do not have required permissions to access the requested resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccessDeniedException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AccessDeniedException.Builder |
builder() |
Boolean |
canRetry()
You can immediately retry your request.
|
AccessDeniedErrorCode |
inspectorErrorCode()
Code that indicates the type of error that is generated.
|
String |
inspectorErrorCodeAsString()
Code that indicates the type of error that is generated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccessDeniedException.Builder> |
serializableBuilderClass() |
AccessDeniedException.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 AccessDeniedException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>toBuilder in class InspectorExceptionpublic static AccessDeniedException.Builder builder()
public static Class<? extends AccessDeniedException.Builder> serializableBuilderClass()
public Boolean canRetry()
You can immediately retry your request.
public AccessDeniedErrorCode inspectorErrorCode()
Code that indicates the type of error that is generated.
If the service returns an enum value that is not available in the current SDK version,
inspectorErrorCode will return AccessDeniedErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from inspectorErrorCodeAsString().
AccessDeniedErrorCodepublic String inspectorErrorCodeAsString()
Code that indicates the type of error that is generated.
If the service returns an enum value that is not available in the current SDK version,
inspectorErrorCode will return AccessDeniedErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from inspectorErrorCodeAsString().
AccessDeniedErrorCodeCopyright © 2023. All rights reserved.