public static interface AwsServiceException.Builder extends SdkServiceException.Builder
| Modifier and Type | Method and Description |
|---|---|
AwsErrorDetails |
awsErrorDetails()
The
AwsErrorDetails from the service response. |
AwsServiceException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response.
|
AwsServiceException |
build() |
AwsServiceException.Builder |
cause(Throwable t) |
Duration |
clockSkew()
The request-level time skew between the client and server date for the request that generated this exception.
|
AwsServiceException.Builder |
clockSkew(Duration timeOffSet)
The request-level time skew between the client and server date for the request that generated this exception.
|
AwsServiceException.Builder |
message(String message) |
AwsServiceException.Builder |
requestId(String requestId) |
AwsServiceException.Builder |
statusCode(int statusCode) |
requestId, statusCodecause, messageAwsServiceException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails - Object containing additional details from the response.AwsErrorDetails awsErrorDetails()
AwsErrorDetails from the service response.AwsErrorDetails.AwsServiceException.Builder clockSkew(Duration timeOffSet)
Duration clockSkew()
AwsServiceException.Builder message(String message)
message in interface SdkException.Buildermessage in interface SdkServiceException.BuilderAwsServiceException.Builder cause(Throwable t)
cause in interface SdkException.Buildercause in interface SdkServiceException.BuilderAwsServiceException.Builder requestId(String requestId)
requestId in interface SdkServiceException.BuilderAwsServiceException.Builder statusCode(int statusCode)
statusCode in interface SdkServiceException.BuilderAwsServiceException build()
build in interface Buildablebuild in interface SdkException.Builderbuild in interface SdkServiceException.BuilderCopyright © 2019. All rights reserved.