Class RdsException.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.rds.model.RdsException.BuilderImpl
-
- All Implemented Interfaces:
AwsServiceException.Builder
,SdkException.Builder
,SdkServiceException.Builder
,SdkPojo
,RdsException.Builder
,Buildable
- Enclosing class:
- RdsException
protected static class RdsException.BuilderImpl extends AwsServiceException.BuilderImpl implements RdsException.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 protected
BuilderImpl()
protected
BuilderImpl(RdsException ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RdsException.BuilderImpl
awsErrorDetails(AwsErrorDetails awsErrorDetails)
RdsException
build()
RdsException.BuilderImpl
cause(Throwable cause)
RdsException.BuilderImpl
message(String message)
RdsException.BuilderImpl
numAttempts(Integer numAttempts)
RdsException.BuilderImpl
requestId(String requestId)
RdsException.BuilderImpl
statusCode(int statusCode)
RdsException.BuilderImpl
writableStackTrace(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(RdsException ex)
-
-
Method Detail
-
awsErrorDetails
public RdsException.BuilderImpl awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetails
in interfaceAwsServiceException.Builder
- Specified by:
awsErrorDetails
in interfaceRdsException.Builder
- Overrides:
awsErrorDetails
in classAwsServiceException.BuilderImpl
-
message
public RdsException.BuilderImpl message(String message)
- Specified by:
message
in interfaceAwsServiceException.Builder
- Specified by:
message
in interfaceRdsException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Specified by:
message
in interfaceSdkServiceException.Builder
- Overrides:
message
in classAwsServiceException.BuilderImpl
-
requestId
public RdsException.BuilderImpl requestId(String requestId)
- Specified by:
requestId
in interfaceAwsServiceException.Builder
- Specified by:
requestId
in interfaceRdsException.Builder
- Specified by:
requestId
in interfaceSdkServiceException.Builder
- Overrides:
requestId
in classAwsServiceException.BuilderImpl
-
statusCode
public RdsException.BuilderImpl statusCode(int statusCode)
- Specified by:
statusCode
in interfaceAwsServiceException.Builder
- Specified by:
statusCode
in interfaceRdsException.Builder
- Specified by:
statusCode
in interfaceSdkServiceException.Builder
- Overrides:
statusCode
in classAwsServiceException.BuilderImpl
-
cause
public RdsException.BuilderImpl cause(Throwable cause)
- Specified by:
cause
in interfaceAwsServiceException.Builder
- Specified by:
cause
in interfaceRdsException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Specified by:
cause
in interfaceSdkServiceException.Builder
- Overrides:
cause
in classAwsServiceException.BuilderImpl
-
writableStackTrace
public RdsException.BuilderImpl writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTrace
in interfaceRdsException.Builder
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Specified by:
writableStackTrace
in interfaceSdkServiceException.Builder
- Overrides:
writableStackTrace
in classAwsServiceException.BuilderImpl
-
numAttempts
public RdsException.BuilderImpl numAttempts(Integer numAttempts)
- Specified by:
numAttempts
in interfaceAwsServiceException.Builder
- Specified by:
numAttempts
in interfaceRdsException.Builder
- Specified by:
numAttempts
in interfaceSdkException.Builder
- Specified by:
numAttempts
in interfaceSdkServiceException.Builder
- Overrides:
numAttempts
in classAwsServiceException.BuilderImpl
-
build
public RdsException build()
- Specified by:
build
in interfaceAwsServiceException.Builder
- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkException.Builder
- Specified by:
build
in interfaceSdkServiceException.Builder
- Overrides:
build
in classAwsServiceException.BuilderImpl
-
-