public static interface ServiceUnavailableErrorException.Builder extends SdkPojo, CopyableBuilder<ServiceUnavailableErrorException.Builder,ServiceUnavailableErrorException>, StorageGatewayException.Builder
| Modifier and Type | Method and Description |
|---|---|
ServiceUnavailableErrorException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails) |
ServiceUnavailableErrorException.Builder |
cause(Throwable cause) |
default ServiceUnavailableErrorException.Builder |
error(Consumer<StorageGatewayError.Builder> error)
A StorageGatewayError that provides more information about the cause of the error.
|
ServiceUnavailableErrorException.Builder |
error(StorageGatewayError error)
A StorageGatewayError that provides more information about the cause of the error.
|
ServiceUnavailableErrorException.Builder |
message(String message) |
ServiceUnavailableErrorException.Builder |
requestId(String requestId) |
ServiceUnavailableErrorException.Builder |
statusCode(int statusCode) |
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, messageequalsBySdkFields, sdkFieldsServiceUnavailableErrorException.Builder error(StorageGatewayError error)
A StorageGatewayError that provides more information about the cause of the error.
error - A StorageGatewayError that provides more information about the cause of the error.default ServiceUnavailableErrorException.Builder error(Consumer<StorageGatewayError.Builder> error)
A StorageGatewayError that provides more information about the cause of the error.
This is a convenience method that creates an instance of theStorageGatewayError.Builder avoiding the
need to create one manually via StorageGatewayError.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to error(StorageGatewayError).
error - a consumer that will call methods on StorageGatewayError.Buildererror(StorageGatewayError)ServiceUnavailableErrorException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface StorageGatewayException.BuilderServiceUnavailableErrorException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.Buildermessage in interface StorageGatewayException.BuilderServiceUnavailableErrorException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface SdkServiceException.BuilderrequestId in interface StorageGatewayException.BuilderServiceUnavailableErrorException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface SdkServiceException.BuilderstatusCode in interface StorageGatewayException.BuilderServiceUnavailableErrorException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.Buildercause in interface StorageGatewayException.BuilderCopyright © 2022. All rights reserved.