Interface InternalServerException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<InternalServerException.Builder,InternalServerException>,MgnException.Builder,SdkBuilder<InternalServerException.Builder,InternalServerException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- InternalServerException
public static interface InternalServerException.Builder extends SdkPojo, CopyableBuilder<InternalServerException.Builder,InternalServerException>, MgnException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternalServerException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)InternalServerException.Buildercause(Throwable cause)InternalServerException.Buildermessage(String message)InternalServerException.BuilderrequestId(String requestId)InternalServerException.BuilderretryAfterSeconds(Long retryAfterSeconds)The server encountered an unexpected condition that prevented it from fulfilling the request.InternalServerException.BuilderstatusCode(int statusCode)InternalServerException.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
InternalServerException.Builder retryAfterSeconds(Long retryAfterSeconds)
The server encountered an unexpected condition that prevented it from fulfilling the request. The request will be retried again after x seconds.
- Parameters:
retryAfterSeconds- The server encountered an unexpected condition that prevented it from fulfilling the request. The request will be retried again after x seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
InternalServerException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceMgnException.Builder
-
message
InternalServerException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceMgnException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
InternalServerException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceMgnException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
InternalServerException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceMgnException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
InternalServerException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceMgnException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
InternalServerException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceMgnException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-