protected static class S3Exception.BuilderImpl extends AwsServiceException.BuilderImpl implements S3Exception.Builder
awsErrorDetailsextendedRequestId, requestId, statusCodecause, message, numAttempts, writableStackTrace| Modifier | Constructor and Description |
|---|---|
protected |
BuilderImpl() |
protected |
BuilderImpl(S3Exception ex) |
| Modifier and Type | Method and Description |
|---|---|
S3Exception.BuilderImpl |
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response.
|
S3Exception |
build()
Creates a new
SdkException with the specified properties. |
S3Exception.BuilderImpl |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
S3Exception.BuilderImpl |
message(String message)
Specifies the details of this exception.
|
S3Exception.BuilderImpl |
numAttempts(Integer numAttempts) |
S3Exception.BuilderImpl |
requestId(String requestId)
Specifies the requestId returned by the called service.
|
S3Exception.BuilderImpl |
statusCode(int statusCode)
Specifies the status code returned by the service.
|
S3Exception.BuilderImpl |
writableStackTrace(Boolean writableStackTrace)
Specifies whether the stack trace in this exception can be written.
|
awsErrorDetails, clockSkew, clockSkew, extendedRequestId, getAwsErrorDetails, setAwsErrorDetailsextendedRequestId, getExtendedRequestId, getRequestId, getStatusCode, requestId, sdkFields, setExtendedRequestId, setRequestId, setStatusCode, statusCodecause, getCause, getMessage, getNumAttempts, getWritableStackTrace, message, numAttempts, setAttemptCount, setCause, setMessage, setWritableStackTrace, writableStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitawsErrorDetails, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, message, numAttempts, writableStackTraceequalsBySdkFields, sdkFieldNameToField, sdkFieldsprotected BuilderImpl()
protected BuilderImpl(S3Exception ex)
public S3Exception.BuilderImpl awsErrorDetails(AwsErrorDetails awsErrorDetails)
AwsServiceException.BuilderawsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface S3Exception.BuilderawsErrorDetails in class AwsServiceException.BuilderImplawsErrorDetails - Object containing additional details from the response.public S3Exception.BuilderImpl message(String message)
SdkException.Buildermessage in interface AwsServiceException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.Buildermessage in interface S3Exception.Buildermessage in class AwsServiceException.BuilderImplmessage - The details of this exception.public S3Exception.BuilderImpl requestId(String requestId)
SdkServiceException.BuilderrequestId in interface AwsServiceException.BuilderrequestId in interface SdkServiceException.BuilderrequestId in interface S3Exception.BuilderrequestId in class AwsServiceException.BuilderImplrequestId - A string that identifies the request made to a service.public S3Exception.BuilderImpl statusCode(int statusCode)
SdkServiceException.BuilderstatusCode in interface AwsServiceException.BuilderstatusCode in interface SdkServiceException.BuilderstatusCode in interface S3Exception.BuilderstatusCode in class AwsServiceException.BuilderImplstatusCode - an int containing the status code returned by the service.public S3Exception.BuilderImpl cause(Throwable cause)
SdkException.Buildercause in interface AwsServiceException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.Buildercause in interface S3Exception.Buildercause in class AwsServiceException.BuilderImplcause - The exception that caused this exception to occur.public S3Exception.BuilderImpl writableStackTrace(Boolean writableStackTrace)
SdkException.BuilderwritableStackTrace in interface SdkException.BuilderwritableStackTrace in interface SdkServiceException.BuilderwritableStackTrace in interface S3Exception.BuilderwritableStackTrace in class AwsServiceException.BuilderImplwritableStackTrace - Whether the stack trace can be written.public S3Exception.BuilderImpl numAttempts(Integer numAttempts)
numAttempts in interface AwsServiceException.BuildernumAttempts in interface SdkException.BuildernumAttempts in interface SdkServiceException.BuildernumAttempts in interface S3Exception.BuildernumAttempts in class AwsServiceException.BuilderImplnumAttempts - The attempt countpublic S3Exception build()
SdkException.BuilderSdkException with the specified properties.build in interface AwsServiceException.Builderbuild in interface SdkException.Builderbuild in interface SdkServiceException.Builderbuild in interface Buildablebuild in class AwsServiceException.BuilderImplSdkException.Copyright © 2026. All rights reserved.