@Generated(value="software.amazon.awssdk:codegen") public class TooManyRequestsException extends AthenaException implements ToCopyableBuilder<TooManyRequestsException.Builder,TooManyRequestsException>
Indicates that the request was throttled.
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 |
reasonString()
Returns the value of the Reason property for this object.
|
static Class<? extends TooManyRequestsException.Builder> |
serializableBuilderClass() |
TooManyRequestsException.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, 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 TooManyRequestsException.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TooManyRequestsException.Builder,TooManyRequestsException>
public 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
reasonString()
.
ThrottleReason
public String reasonString()
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
reasonString()
.
ThrottleReason
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.