@Generated(value="software.amazon.awssdk:codegen") public final class TooManyRequestsException extends LambdaException implements ToCopyableBuilder<TooManyRequestsException.Builder,TooManyRequestsException>
The request throughput limit was 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.
|
String |
retryAfterSeconds()
The number of seconds the caller should wait before retrying.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TooManyRequestsException.Builder> |
serializableBuilderClass() |
TooManyRequestsException.Builder |
toBuilder() |
String |
type()
Returns the value of the Type property for this object.
|
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
equalsBySdkFields
public TooManyRequestsException.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<TooManyRequestsException.Builder,TooManyRequestsException>
toBuilder
in class LambdaException
public static TooManyRequestsException.Builder builder()
public static Class<? extends TooManyRequestsException.Builder> serializableBuilderClass()
public String retryAfterSeconds()
The number of seconds the caller should wait before retrying.
public String type()
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()
.
ThrottleReason
public 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()
.
ThrottleReason
Copyright © 2020. All rights reserved.