@Generated(value="software.amazon.awssdk:codegen") public final class AccessDeniedException extends NimbleException implements ToCopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccessDeniedException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AccessDeniedException.Builder |
builder() |
String |
code()
A more specific error code.
|
Map<String,String> |
context()
The exception context.
|
boolean |
hasContext()
Returns true if the Context property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
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 NimbleExceptionpublic static AccessDeniedException.Builder builder()
public static Class<? extends AccessDeniedException.Builder> serializableBuilderClass()
public String code()
A more specific error code.
public boolean hasContext()
public Map<String,String> context()
The exception context.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasContext() to see if a value was sent in this field.
Copyright © 2021. All rights reserved.