Interface ServiceException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<ServiceException.Builder,ServiceException>,LightsailException.Builder,SdkBuilder<ServiceException.Builder,ServiceException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- ServiceException
public static interface ServiceException.Builder extends SdkPojo, CopyableBuilder<ServiceException.Builder,ServiceException>, LightsailException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)ServiceException.Buildercause(Throwable cause)ServiceException.Buildercode(String code)Sets the value of the Code property for this object.ServiceException.Builderdocs(String docs)Sets the value of the Docs property for this object.ServiceException.Buildermessage(String message)ServiceException.BuilderrequestId(String requestId)ServiceException.BuilderstatusCode(int statusCode)ServiceException.Buildertip(String tip)Sets the value of the Tip property for this object.ServiceException.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
-
code
ServiceException.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.
-
docs
ServiceException.Builder docs(String docs)
Sets the value of the Docs property for this object.- Parameters:
docs- The new value for the Docs property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tip
ServiceException.Builder tip(String tip)
Sets the value of the Tip property for this object.- Parameters:
tip- The new value for the Tip property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
ServiceException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceLightsailException.Builder
-
message
ServiceException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceLightsailException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
ServiceException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceLightsailException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
ServiceException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceLightsailException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
ServiceException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceLightsailException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
ServiceException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceLightsailException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-