Interface TooManyRequestsException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder
,Buildable
,CopyableBuilder<TooManyRequestsException.Builder,TooManyRequestsException>
,LambdaException.Builder
,SdkBuilder<TooManyRequestsException.Builder,TooManyRequestsException>
,SdkException.Builder
,SdkPojo
,SdkServiceException.Builder
- Enclosing class:
- TooManyRequestsException
public static interface TooManyRequestsException.Builder extends SdkPojo, CopyableBuilder<TooManyRequestsException.Builder,TooManyRequestsException>, LambdaException.Builder
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.Builder
awsErrorDetails, build, clockSkew, clockSkew, extendedRequestId
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, numAttempts, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
retryAfterSeconds
TooManyRequestsException.Builder retryAfterSeconds(String retryAfterSeconds)
The number of seconds the caller should wait before retrying.
- Parameters:
retryAfterSeconds
- The number of seconds the caller should wait before retrying.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
TooManyRequestsException.Builder type(String type)
Sets the value of the Type property for this object.- Parameters:
type
- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
TooManyRequestsException.Builder reason(String reason)
Sets the value of the Reason property for this object.- Parameters:
reason
- The new value for the Reason property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ThrottleReason
,ThrottleReason
-
reason
TooManyRequestsException.Builder reason(ThrottleReason reason)
Sets the value of the Reason property for this object.- Parameters:
reason
- The new value for the Reason property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ThrottleReason
,ThrottleReason
-
awsErrorDetails
TooManyRequestsException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetails
in interfaceAwsServiceException.Builder
- Specified by:
awsErrorDetails
in interfaceLambdaException.Builder
-
message
TooManyRequestsException.Builder message(String message)
- Specified by:
message
in interfaceAwsServiceException.Builder
- Specified by:
message
in interfaceLambdaException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Specified by:
message
in interfaceSdkServiceException.Builder
-
requestId
TooManyRequestsException.Builder requestId(String requestId)
- Specified by:
requestId
in interfaceAwsServiceException.Builder
- Specified by:
requestId
in interfaceLambdaException.Builder
- Specified by:
requestId
in interfaceSdkServiceException.Builder
-
statusCode
TooManyRequestsException.Builder statusCode(int statusCode)
- Specified by:
statusCode
in interfaceAwsServiceException.Builder
- Specified by:
statusCode
in interfaceLambdaException.Builder
- Specified by:
statusCode
in interfaceSdkServiceException.Builder
-
cause
TooManyRequestsException.Builder cause(Throwable cause)
- Specified by:
cause
in interfaceAwsServiceException.Builder
- Specified by:
cause
in interfaceLambdaException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Specified by:
cause
in interfaceSdkServiceException.Builder
-
writableStackTrace
TooManyRequestsException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTrace
in interfaceLambdaException.Builder
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Specified by:
writableStackTrace
in interfaceSdkServiceException.Builder
-
numAttempts
TooManyRequestsException.Builder numAttempts(Integer numAttempts)
- Specified by:
numAttempts
in interfaceAwsServiceException.Builder
- Specified by:
numAttempts
in interfaceLambdaException.Builder
- Specified by:
numAttempts
in interfaceSdkException.Builder
- Specified by:
numAttempts
in interfaceSdkServiceException.Builder
-
-