public static interface TooManyRequestsException.Builder extends CopyableBuilder<TooManyRequestsException.Builder,TooManyRequestsException>, LambdaException.Builder
| Modifier and Type | Method and Description | 
|---|---|
TooManyRequestsException.Builder | 
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response. 
 | 
TooManyRequestsException.Builder | 
cause(Throwable cause)
Specifies the exception that caused this exception to occur. 
 | 
TooManyRequestsException.Builder | 
message(String message)
Specifies the details of this exception. 
 | 
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)
Specifies the requestId returned by the called service. 
 | 
TooManyRequestsException.Builder | 
retryAfterSeconds(String retryAfterSeconds)
 The number of seconds the caller should wait before retrying. 
 | 
TooManyRequestsException.Builder | 
statusCode(int statusCode)
Specifies the status code returned by the service. 
 | 
TooManyRequestsException.Builder | 
type(String type)
Sets the value of the Type property for this object. 
 | 
copyapplyMutation, buildawsErrorDetails, buildrequestId, statusCodecause, messageTooManyRequestsException.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)
AwsServiceException.BuilderawsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface LambdaException.BuilderawsErrorDetails - Object containing additional details from the response.TooManyRequestsException.Builder message(String message)
SdkException.Buildermessage in interface AwsServiceException.Buildermessage in interface LambdaException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.Buildermessage - The details of this exception.TooManyRequestsException.Builder requestId(String requestId)
SdkServiceException.BuilderrequestId in interface AwsServiceException.BuilderrequestId in interface LambdaException.BuilderrequestId in interface SdkServiceException.BuilderrequestId - A string that identifies the request made to a service.TooManyRequestsException.Builder statusCode(int statusCode)
SdkServiceException.BuilderstatusCode in interface AwsServiceException.BuilderstatusCode in interface LambdaException.BuilderstatusCode in interface SdkServiceException.BuilderstatusCode - an int containing the status code returned by the service.TooManyRequestsException.Builder cause(Throwable cause)
SdkException.Buildercause in interface AwsServiceException.Buildercause in interface LambdaException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.Buildercause - The exception that caused this exception to occur.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.