public static interface ServiceUnavailableErrorException.Builder extends CopyableBuilder<ServiceUnavailableErrorException.Builder,ServiceUnavailableErrorException>, StorageGatewayException.Builder
| Modifier and Type | Method and Description |
|---|---|
ServiceUnavailableErrorException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response.
|
ServiceUnavailableErrorException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
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)
Specifies the details of this exception.
|
ServiceUnavailableErrorException.Builder |
requestId(String requestId)
Specifies the requestId returned by the called service.
|
ServiceUnavailableErrorException.Builder |
statusCode(int statusCode)
Specifies the status code returned by the service.
|
copyapplyMutation, buildawsErrorDetails, buildrequestId, statusCodecause, messageServiceUnavailableErrorException.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 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)
AwsServiceException.BuilderawsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface StorageGatewayException.BuilderawsErrorDetails - Object containing additional details from the response.ServiceUnavailableErrorException.Builder message(String message)
SdkException.Buildermessage in interface AwsServiceException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.Buildermessage in interface StorageGatewayException.Buildermessage - The details of this exception.ServiceUnavailableErrorException.Builder requestId(String requestId)
SdkServiceException.BuilderrequestId in interface AwsServiceException.BuilderrequestId in interface SdkServiceException.BuilderrequestId in interface StorageGatewayException.BuilderrequestId - A string that identifies the request made to a service.ServiceUnavailableErrorException.Builder statusCode(int statusCode)
SdkServiceException.BuilderstatusCode in interface AwsServiceException.BuilderstatusCode in interface SdkServiceException.BuilderstatusCode in interface StorageGatewayException.BuilderstatusCode - an int containing the status code returned by the service.ServiceUnavailableErrorException.Builder cause(Throwable cause)
SdkException.Buildercause in interface AwsServiceException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.Buildercause in interface StorageGatewayException.Buildercause - The exception that caused this exception to occur.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.