@Generated(value="software.amazon.awssdk:codegen") public final class InvalidGrantException extends SsoOidcException implements ToCopyableBuilder<InvalidGrantException.Builder,InvalidGrantException>
Indicates that a request contains an invalid grant. This can occur if a client makes a CreateToken request with an invalid grant type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InvalidGrantException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InvalidGrantException.Builder |
builder() |
String |
error_description()
Deprecated.
|
String |
error()
Returns the value of the Error property for this object.
|
String |
errorDescription()
Returns the value of the ErrorDescription property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvalidGrantException.Builder> |
serializableBuilderClass() |
InvalidGrantException.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 InvalidGrantException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InvalidGrantException.Builder,InvalidGrantException>toBuilder in class SsoOidcExceptionpublic static InvalidGrantException.Builder builder()
public static Class<? extends InvalidGrantException.Builder> serializableBuilderClass()
public String error()
@Deprecated public String error_description()
errorDescription()public String errorDescription()
Copyright © 2022. All rights reserved.