public static interface SdkServiceException.Builder extends SdkException.Builder, SdkPojo
| Modifier and Type | Method and Description |
|---|---|
SdkServiceException |
build()
Creates a new
SdkServiceException with the specified properties. |
SdkServiceException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
String |
extendedRequestId()
The extendedRequestId returned by the called service.
|
SdkServiceException.Builder |
extendedRequestId(String extendedRequestId)
Specifies the extendedRequestId returned by the called service.
|
SdkServiceException.Builder |
message(String message)
Specifies the details of this exception.
|
String |
requestId()
The requestId returned by the called service.
|
SdkServiceException.Builder |
requestId(String requestId)
Specifies the requestId returned by the called service.
|
int |
statusCode()
The status code returned by the service.
|
SdkServiceException.Builder |
statusCode(int statusCode)
Specifies the status code returned by the service.
|
cause, messageequalsBySdkFields, sdkFieldsSdkServiceException.Builder message(String message)
SdkException.Buildermessage in interface SdkException.Buildermessage - The details of this exception.SdkServiceException.Builder cause(Throwable cause)
SdkException.Buildercause in interface SdkException.Buildercause - The exception that caused this exception to occur.SdkServiceException.Builder requestId(String requestId)
requestId - A string that identifies the request made to a service.String requestId()
SdkServiceException.Builder extendedRequestId(String extendedRequestId)
extendedRequestId - A string that identifies the request made to a service.String extendedRequestId()
SdkServiceException.Builder statusCode(int statusCode)
statusCode - an int containing the status code returned by the service.int statusCode()
SdkServiceException build()
SdkServiceException with the specified properties.build in interface Buildablebuild in interface SdkException.BuilderSdkServiceException.Copyright © 2020. All rights reserved.