Interface ThrottlingException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<ThrottlingException.Builder,ThrottlingException>,DeadlineException.Builder,SdkBuilder<ThrottlingException.Builder,ThrottlingException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- ThrottlingException
public static interface ThrottlingException.Builder extends SdkPojo, CopyableBuilder<ThrottlingException.Builder,ThrottlingException>, DeadlineException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThrottlingException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)ThrottlingException.Buildercause(Throwable cause)ThrottlingException.Buildercontext(Map<String,String> context)Information about the resources in use when the exception was thrown.ThrottlingException.Buildermessage(String message)ThrottlingException.BuilderquotaCode(String quotaCode)Identifies the quota that is being throttled.ThrottlingException.BuilderrequestId(String requestId)ThrottlingException.BuilderretryAfterSeconds(Integer retryAfterSeconds)The number of seconds a client should wait before retrying the request.ThrottlingException.BuilderserviceCode(String serviceCode)Identifies the service that is being throttled.ThrottlingException.BuilderstatusCode(int statusCode)ThrottlingException.BuilderwritableStackTrace(Boolean writableStackTrace)-
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, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
context
ThrottlingException.Builder context(Map<String,String> context)
Information about the resources in use when the exception was thrown.
- Parameters:
context- Information about the resources in use when the exception was thrown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotaCode
ThrottlingException.Builder quotaCode(String quotaCode)
Identifies the quota that is being throttled.
- Parameters:
quotaCode- Identifies the quota that is being throttled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryAfterSeconds
ThrottlingException.Builder retryAfterSeconds(Integer retryAfterSeconds)
The number of seconds a client should wait before retrying the request.
- Parameters:
retryAfterSeconds- The number of seconds a client should wait before retrying the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceCode
ThrottlingException.Builder serviceCode(String serviceCode)
Identifies the service that is being throttled.
- Parameters:
serviceCode- Identifies the service that is being throttled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
ThrottlingException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceDeadlineException.Builder
-
message
ThrottlingException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceDeadlineException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
ThrottlingException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceDeadlineException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
ThrottlingException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceDeadlineException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
ThrottlingException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceDeadlineException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
ThrottlingException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceDeadlineException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-