Interface InternalException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<InternalException.Builder,InternalException>,PipesException.Builder,SdkBuilder<InternalException.Builder,InternalException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- InternalException
public static interface InternalException.Builder extends SdkPojo, CopyableBuilder<InternalException.Builder,InternalException>, PipesException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternalException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)InternalException.Buildercause(Throwable cause)InternalException.Buildermessage(String message)InternalException.BuilderrequestId(String requestId)InternalException.BuilderretryAfterSeconds(Integer retryAfterSeconds)The number of seconds to wait before retrying the action that caused the exception.InternalException.BuilderstatusCode(int statusCode)InternalException.BuilderwritableStackTrace(Boolean writableStackTrace)-
Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.Builder
awsErrorDetails, build, clockSkew, clockSkew, extendedRequestId
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
retryAfterSeconds
InternalException.Builder retryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the action that caused the exception.
- Parameters:
retryAfterSeconds- The number of seconds to wait before retrying the action that caused the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
InternalException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfacePipesException.Builder
-
message
InternalException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfacePipesException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
InternalException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfacePipesException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
InternalException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfacePipesException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
InternalException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfacePipesException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
InternalException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfacePipesException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-