@Generated(value="software.amazon.awssdk:codegen") public final class TooManyRequestsException extends AthenaException implements ToCopyableBuilder<TooManyRequestsException.Builder,TooManyRequestsException>
Indicates that the request was throttled and includes the reason for throttling, for example, the limit of concurrent queries has been exceeded.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TooManyRequestsException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TooManyRequestsException.Builder |
builder() |
ThrottleReason |
reason()
Returns the value of the Reason property for this object.
|
String |
reasonAsString()
Returns the value of the Reason property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TooManyRequestsException.Builder> |
serializableBuilderClass() |
TooManyRequestsException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException. |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionrequestId, statusCoderetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic TooManyRequestsException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.toBuilder in interface ToCopyableBuilder<TooManyRequestsException.Builder,TooManyRequestsException>toBuilder in class AthenaExceptionpublic static TooManyRequestsException.Builder builder()
public static Class<? extends TooManyRequestsException.Builder> serializableBuilderClass()
public ThrottleReason reason()
If the service returns an enum value that is not available in the current SDK version, reason will
return ThrottleReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reasonAsString().
ThrottleReasonpublic String reasonAsString()
If the service returns an enum value that is not available in the current SDK version, reason will
return ThrottleReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reasonAsString().
ThrottleReasonCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.