Interface InternalException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<InternalException.Builder,InternalException>,SdkBuilder<InternalException.Builder,InternalException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder,SecurityHubException.Builder
- Enclosing class:
- InternalException
public static interface InternalException.Builder extends SdkPojo, CopyableBuilder<InternalException.Builder,InternalException>, SecurityHubException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternalException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)InternalException.Buildercause(Throwable cause)InternalException.Buildercode(String code)Sets the value of the Code property for this object.InternalException.Buildermessage(String message)InternalException.BuilderrequestId(String requestId)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
code
InternalException.Builder code(String code)
Sets the value of the Code property for this object.- Parameters:
code- The new value for the Code property for this object.- 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 interfaceSecurityHubException.Builder
-
message
InternalException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder- Specified by:
messagein interfaceSecurityHubException.Builder
-
requestId
InternalException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder- Specified by:
requestIdin interfaceSecurityHubException.Builder
-
statusCode
InternalException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder- Specified by:
statusCodein interfaceSecurityHubException.Builder
-
cause
InternalException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder- Specified by:
causein interfaceSecurityHubException.Builder
-
writableStackTrace
InternalException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder- Specified by:
writableStackTracein interfaceSecurityHubException.Builder
-
-