@Generated(value="software.amazon.awssdk:codegen") public 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.
|
static Class<? extends AccessDeniedException.Builder> |
serializableBuilderClass() |
AccessDeniedException.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
additionalThrottlingCondition, isClockSkewException
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, isThrottlingException, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public AccessDeniedException.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>
public 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()
.
AccessDeniedErrorCode
public 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()
.
AccessDeniedErrorCode
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.