public static interface TooManyRequestsException.Builder extends SdkPojo, CopyableBuilder<TooManyRequestsException.Builder,TooManyRequestsException>, LambdaException.Builder
| Modifier and Type | Method and Description |
|---|---|
TooManyRequestsException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails) |
TooManyRequestsException.Builder |
cause(Throwable cause) |
TooManyRequestsException.Builder |
message(String message) |
TooManyRequestsException.Builder |
reason(String reason)
Sets the value of the Reason property for this object.
|
TooManyRequestsException.Builder |
reason(ThrottleReason reason)
Sets the value of the Reason property for this object.
|
TooManyRequestsException.Builder |
requestId(String requestId) |
TooManyRequestsException.Builder |
retryAfterSeconds(String retryAfterSeconds)
The number of seconds the caller should wait before retrying.
|
TooManyRequestsException.Builder |
statusCode(int statusCode) |
TooManyRequestsException.Builder |
type(String type)
Sets the value of the Type property for this object.
|
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, messageequalsBySdkFields, sdkFieldsTooManyRequestsException.Builder retryAfterSeconds(String retryAfterSeconds)
The number of seconds the caller should wait before retrying.
retryAfterSeconds - The number of seconds the caller should wait before retrying.TooManyRequestsException.Builder type(String type)
type - The new value for the Type property for this object.TooManyRequestsException.Builder reason(String reason)
reason - The new value for the Reason property for this object.ThrottleReason,
ThrottleReasonTooManyRequestsException.Builder reason(ThrottleReason reason)
reason - The new value for the Reason property for this object.ThrottleReason,
ThrottleReasonTooManyRequestsException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface LambdaException.BuilderTooManyRequestsException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface LambdaException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.BuilderTooManyRequestsException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface LambdaException.BuilderrequestId in interface SdkServiceException.BuilderTooManyRequestsException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface LambdaException.BuilderstatusCode in interface SdkServiceException.BuilderTooManyRequestsException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface LambdaException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.BuilderCopyright © 2020. All rights reserved.