Class AwsServiceException.BuilderImpl
java.lang.Object
software.amazon.awssdk.core.exception.SdkException.BuilderImpl
software.amazon.awssdk.core.exception.SdkServiceException.BuilderImpl
software.amazon.awssdk.awscore.exception.AwsServiceException.BuilderImpl
- All Implemented Interfaces:
AwsServiceException.Builder,SdkException.Builder,SdkServiceException.Builder,SdkPojo,Buildable
- Enclosing class:
- AwsServiceException
protected static class AwsServiceException.BuilderImpl
extends SdkServiceException.BuilderImpl
implements AwsServiceException.Builder
-
Field Summary
FieldsFields inherited from class software.amazon.awssdk.core.exception.SdkServiceException.BuilderImpl
extendedRequestId, requestId, statusCodeFields inherited from class software.amazon.awssdk.core.exception.SdkException.BuilderImpl
cause, message, numAttempts, writableStackTrace -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotected -
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) voidsetAwsErrorDetails(AwsErrorDetails awsErrorDetails) statusCode(int statusCode) writableStackTrace(Boolean writableStackTrace) Methods inherited from class software.amazon.awssdk.core.exception.SdkServiceException.BuilderImpl
extendedRequestId, getExtendedRequestId, getRequestId, getStatusCode, requestId, sdkFields, setExtendedRequestId, setRequestId, setStatusCode, statusCodeMethods inherited from class software.amazon.awssdk.core.exception.SdkException.BuilderImpl
cause, getCause, getMessage, getNumAttempts, getWritableStackTrace, message, numAttempts, setAttemptCount, setCause, setMessage, setWritableStackTrace, writableStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Field Details
-
awsErrorDetails
-
-
Constructor Details
-
BuilderImpl
protected BuilderImpl() -
BuilderImpl
-
-
Method Details
-
awsErrorDetails
Description copied from interface:AwsServiceException.BuilderSpecifies the additional awsErrorDetails from the service response.- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Parameters:
awsErrorDetails- Object containing additional details from the response.- Returns:
- This object for method chaining.
-
awsErrorDetails
Description copied from interface:AwsServiceException.BuilderTheAwsErrorDetailsfrom the service response.- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Returns:
AwsErrorDetails.
-
getAwsErrorDetails
-
setAwsErrorDetails
-
clockSkew
Description copied from interface:AwsServiceException.BuilderThe 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".- Specified by:
clockSkewin interfaceAwsServiceException.Builder
-
clockSkew
Description copied from interface:AwsServiceException.BuilderThe 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".- Specified by:
clockSkewin interfaceAwsServiceException.Builder
-
message
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder- Overrides:
messagein classSdkServiceException.BuilderImpl
-
numAttempts
- Specified by:
numAttemptsin interfaceAwsServiceException.Builder- Specified by:
numAttemptsin interfaceSdkException.Builder- Specified by:
numAttemptsin interfaceSdkServiceException.Builder- Overrides:
numAttemptsin classSdkServiceException.BuilderImpl
-
cause
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder- Overrides:
causein classSdkServiceException.BuilderImpl
-
writableStackTrace
- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder- Overrides:
writableStackTracein classSdkServiceException.BuilderImpl
-
requestId
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder- Overrides:
requestIdin classSdkServiceException.BuilderImpl
-
extendedRequestId
- Specified by:
extendedRequestIdin interfaceAwsServiceException.Builder- Specified by:
extendedRequestIdin interfaceSdkServiceException.Builder- Overrides:
extendedRequestIdin classSdkServiceException.BuilderImpl
-
statusCode
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder- Overrides:
statusCodein classSdkServiceException.BuilderImpl
-
build
- Specified by:
buildin interfaceAwsServiceException.Builder- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkException.Builder- Specified by:
buildin interfaceSdkServiceException.Builder- Overrides:
buildin classSdkServiceException.BuilderImpl
-