Interface ThrottlingException.Builder
- All Superinterfaces:
- AwsServiceException.Builder,- Buildable,- CopyableBuilder<ThrottlingException.Builder,,- ThrottlingException> - RepostspaceException.Builder,- SdkBuilder<ThrottlingException.Builder,,- ThrottlingException> - SdkException.Builder,- SdkPojo,- SdkServiceException.Builder
- Enclosing class:
- ThrottlingException
@Mutable
@NotThreadSafe
public static interface ThrottlingException.Builder
extends SdkPojo, CopyableBuilder<ThrottlingException.Builder,ThrottlingException>, RepostspaceException.Builder 
- 
Method SummaryModifier and TypeMethodDescriptionawsErrorDetails(AwsErrorDetails awsErrorDetails) Specifies the additional awsErrorDetails from the service response.Specifies the exception that caused this exception to occur.Specifies the details of this exception.numAttempts(Integer numAttempts) The code to identify the quota.Specifies the requestId returned by the called service.retryAfterSeconds(Integer retryAfterSeconds) Advice to clients on when the call can be safely retried.serviceCode(String serviceCode) The code to identify the service.statusCode(int statusCode) Specifies the status code returned by the service.writableStackTrace(Boolean writableStackTrace) Specifies whether the stack trace in this exception can be written.Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.BuilderawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.exception.SdkException.Buildercause, message, numAttempts, writableStackTraceMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.BuilderextendedRequestId, requestId, statusCode
- 
Method Details- 
serviceCodeThe code to identify the service. - Parameters:
- serviceCode- The code to identify the service.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
quotaCodeThe code to identify the quota. - Parameters:
- quotaCode- The code to identify the quota.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
retryAfterSecondsAdvice to clients on when the call can be safely retried. - Parameters:
- retryAfterSeconds- Advice to clients on when the call can be safely retried.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
awsErrorDetailsDescription copied from interface:AwsServiceException.BuilderSpecifies the additional awsErrorDetails from the service response.- Specified by:
- awsErrorDetailsin interface- AwsServiceException.Builder
- Specified by:
- awsErrorDetailsin interface- RepostspaceException.Builder
- Parameters:
- awsErrorDetails- Object containing additional details from the response.
- Returns:
- This object for method chaining.
 
- 
messageDescription copied from interface:SdkException.BuilderSpecifies the details of this exception.- Specified by:
- messagein interface- AwsServiceException.Builder
- Specified by:
- messagein interface- RepostspaceException.Builder
- Specified by:
- messagein interface- SdkException.Builder
- Specified by:
- messagein interface- SdkServiceException.Builder
- Parameters:
- message- The details of this exception.
- Returns:
- This method for object chaining
 
- 
requestIdDescription copied from interface:SdkServiceException.BuilderSpecifies the requestId returned by the called service.- Specified by:
- requestIdin interface- AwsServiceException.Builder
- Specified by:
- requestIdin interface- RepostspaceException.Builder
- Specified by:
- requestIdin interface- SdkServiceException.Builder
- Parameters:
- requestId- A string that identifies the request made to a service.
- Returns:
- This object for method chaining.
 
- 
statusCodeDescription copied from interface:SdkServiceException.BuilderSpecifies the status code returned by the service.- Specified by:
- statusCodein interface- AwsServiceException.Builder
- Specified by:
- statusCodein interface- RepostspaceException.Builder
- Specified by:
- statusCodein interface- SdkServiceException.Builder
- Parameters:
- statusCode- an int containing the status code returned by the service.
- Returns:
- This method for object chaining.
 
- 
causeDescription copied from interface:SdkException.BuilderSpecifies the exception that caused this exception to occur.- Specified by:
- causein interface- AwsServiceException.Builder
- Specified by:
- causein interface- RepostspaceException.Builder
- Specified by:
- causein interface- SdkException.Builder
- Specified by:
- causein interface- SdkServiceException.Builder
- Parameters:
- cause- The exception that caused this exception to occur.
- Returns:
- This object for method chaining.
 
- 
writableStackTraceDescription copied from interface:SdkException.BuilderSpecifies whether the stack trace in this exception can be written.- Specified by:
- writableStackTracein interface- RepostspaceException.Builder
- Specified by:
- writableStackTracein interface- SdkException.Builder
- Specified by:
- writableStackTracein interface- SdkServiceException.Builder
- Parameters:
- writableStackTrace- Whether the stack trace can be written.
- Returns:
- This method for object chaining
 
- 
numAttempts- Specified by:
- numAttemptsin interface- AwsServiceException.Builder
- Specified by:
- numAttemptsin interface- RepostspaceException.Builder
- Specified by:
- numAttemptsin interface- SdkException.Builder
- Specified by:
- numAttemptsin interface- SdkServiceException.Builder
- Parameters:
- numAttempts- The attempt count
- Returns:
- This method for object chaining
 
 
-