Class OpenSearchException.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
-
- software.amazon.awssdk.services.opensearch.model.OpenSearchException.BuilderImpl
-
- All Implemented Interfaces:
AwsServiceException.Builder,SdkException.Builder,SdkServiceException.Builder,SdkPojo,OpenSearchException.Builder,Buildable
- Enclosing class:
- OpenSearchException
protected static class OpenSearchException.BuilderImpl extends AwsServiceException.BuilderImpl implements OpenSearchException.Builder
-
-
Field Summary
-
Fields inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException.BuilderImpl
awsErrorDetails
-
Fields inherited from class software.amazon.awssdk.core.exception.SdkServiceException.BuilderImpl
extendedRequestId, requestId, statusCode
-
Fields inherited from class software.amazon.awssdk.core.exception.SdkException.BuilderImpl
cause, message, numAttempts, writableStackTrace
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(OpenSearchException ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenSearchException.BuilderImplawsErrorDetails(AwsErrorDetails awsErrorDetails)OpenSearchExceptionbuild()OpenSearchException.BuilderImplcause(Throwable cause)OpenSearchException.BuilderImplmessage(String message)OpenSearchException.BuilderImplnumAttempts(Integer numAttempts)OpenSearchException.BuilderImplrequestId(String requestId)OpenSearchException.BuilderImplstatusCode(int statusCode)OpenSearchException.BuilderImplwritableStackTrace(Boolean writableStackTrace)-
Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException.BuilderImpl
awsErrorDetails, clockSkew, clockSkew, extendedRequestId, getAwsErrorDetails, setAwsErrorDetails
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkServiceException.BuilderImpl
extendedRequestId, getExtendedRequestId, getRequestId, getStatusCode, requestId, sdkFields, setExtendedRequestId, setRequestId, setStatusCode, statusCode
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkException.BuilderImpl
cause, getCause, getMessage, getNumAttempts, getWritableStackTrace, message, numAttempts, setAttemptCount, setCause, setMessage, setWritableStackTrace, writableStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.Builder
awsErrorDetails, clockSkew, clockSkew, extendedRequestId
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, numAttempts, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(OpenSearchException ex)
-
-
Method Detail
-
awsErrorDetails
public OpenSearchException.BuilderImpl awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceOpenSearchException.Builder- Overrides:
awsErrorDetailsin classAwsServiceException.BuilderImpl
-
message
public OpenSearchException.BuilderImpl message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceOpenSearchException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder- Overrides:
messagein classAwsServiceException.BuilderImpl
-
requestId
public OpenSearchException.BuilderImpl requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceOpenSearchException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder- Overrides:
requestIdin classAwsServiceException.BuilderImpl
-
statusCode
public OpenSearchException.BuilderImpl statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceOpenSearchException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder- Overrides:
statusCodein classAwsServiceException.BuilderImpl
-
cause
public OpenSearchException.BuilderImpl cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceOpenSearchException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder- Overrides:
causein classAwsServiceException.BuilderImpl
-
writableStackTrace
public OpenSearchException.BuilderImpl writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceOpenSearchException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder- Overrides:
writableStackTracein classAwsServiceException.BuilderImpl
-
numAttempts
public OpenSearchException.BuilderImpl numAttempts(Integer numAttempts)
- Specified by:
numAttemptsin interfaceAwsServiceException.Builder- Specified by:
numAttemptsin interfaceOpenSearchException.Builder- Specified by:
numAttemptsin interfaceSdkException.Builder- Specified by:
numAttemptsin interfaceSdkServiceException.Builder- Overrides:
numAttemptsin classAwsServiceException.BuilderImpl
-
build
public OpenSearchException build()
- Specified by:
buildin interfaceAwsServiceException.Builder- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkException.Builder- Specified by:
buildin interfaceSdkServiceException.Builder- Overrides:
buildin classAwsServiceException.BuilderImpl
-
-