public static interface ServiceException.Builder extends SdkPojo, CopyableBuilder<ServiceException.Builder,ServiceException>, LightsailException.Builder
| Modifier and Type | Method and Description |
|---|---|
ServiceException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails) |
ServiceException.Builder |
cause(Throwable cause) |
ServiceException.Builder |
code(String code)
Sets the value of the Code property for this object.
|
ServiceException.Builder |
docs(String docs)
Sets the value of the Docs property for this object.
|
ServiceException.Builder |
message(String message) |
ServiceException.Builder |
requestId(String requestId) |
ServiceException.Builder |
statusCode(int statusCode) |
ServiceException.Builder |
tip(String tip)
Sets the value of the Tip property for this object.
|
ServiceException.Builder |
writableStackTrace(Boolean writableStackTrace) |
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, message, writableStackTraceequalsBySdkFields, sdkFieldsServiceException.Builder code(String code)
code - The new value for the Code property for this object.ServiceException.Builder docs(String docs)
docs - The new value for the Docs property for this object.ServiceException.Builder tip(String tip)
tip - The new value for the Tip property for this object.ServiceException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface LightsailException.BuilderServiceException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface LightsailException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.BuilderServiceException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface LightsailException.BuilderrequestId in interface SdkServiceException.BuilderServiceException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface LightsailException.BuilderstatusCode in interface SdkServiceException.BuilderServiceException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface LightsailException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.BuilderServiceException.Builder writableStackTrace(Boolean writableStackTrace)
writableStackTrace in interface LightsailException.BuilderwritableStackTrace in interface SdkException.BuilderwritableStackTrace in interface SdkServiceException.BuilderCopyright © 2023. All rights reserved.