Interface AwsServiceException.Builder
- All Superinterfaces:
Buildable,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- All Known Implementing Classes:
AwsServiceException.BuilderImpl
- Enclosing class:
- AwsServiceException
-
Method Summary
Modifier and TypeMethodDescriptionTheAwsErrorDetailsfrom the service response.awsErrorDetails(AwsErrorDetails awsErrorDetails) Specifies the additional awsErrorDetails from the service response.build()The request-level time skew between the client and server date for the request that generated this exception.The request-level time skew between the client and server date for the request that generated this exception.extendedRequestId(String extendedRequestId) numAttempts(Integer numAttempts) statusCode(int statusCode) Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, numAttempts, writableStackTraceMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode, writableStackTrace
-
Method Details
-
awsErrorDetails
Specifies the additional awsErrorDetails from the service response.- Parameters:
awsErrorDetails- Object containing additional details from the response.- Returns:
- This object for method chaining.
-
awsErrorDetails
AwsErrorDetails awsErrorDetails()TheAwsErrorDetailsfrom the service response.- Returns:
AwsErrorDetails.
-
clockSkew
The request-level time skew between the client and server date for the request that generated this exception. Positive values imply the client clock is "fast" and negative values imply the client clock is "slow". -
clockSkew
Duration clockSkew()The request-level time skew between the client and server date for the request that generated this exception. Positive values imply the client clock is "fast" and negative values imply the client clock is "slow". -
message
- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
numAttempts
- Specified by:
numAttemptsin interfaceSdkException.Builder- Specified by:
numAttemptsin interfaceSdkServiceException.Builder
-
cause
- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
requestId
- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
extendedRequestId
- Specified by:
extendedRequestIdin interfaceSdkServiceException.Builder
-
statusCode
- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
build
AwsServiceException build()- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkException.Builder- Specified by:
buildin interfaceSdkServiceException.Builder
-