protected static final class ApiCallTimeoutException.BuilderImpl extends SdkClientException.BuilderImpl implements ApiCallTimeoutException.Builder
cause, message, writableStackTrace
Modifier | Constructor and Description |
---|---|
protected |
BuilderImpl() |
protected |
BuilderImpl(ApiCallTimeoutException ex) |
Modifier and Type | Method and Description |
---|---|
ApiCallTimeoutException |
build()
Creates a new
SdkException with the specified properties. |
ApiCallTimeoutException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
ApiCallTimeoutException.Builder |
message(String message)
Specifies the details of this exception.
|
ApiCallTimeoutException.Builder |
writableStackTrace(Boolean writableStackTrace)
Specifies whether the stack trace in this exception can be written.
|
cause, getCause, getMessage, getWritableStackTrace, message, setCause, setMessage, setWritableStackTrace, writableStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cause, message, writableStackTrace
protected BuilderImpl()
protected BuilderImpl(ApiCallTimeoutException ex)
public ApiCallTimeoutException.Builder message(String message)
SdkException.Builder
message
in interface ApiCallTimeoutException.Builder
message
in interface SdkClientException.Builder
message
in interface SdkException.Builder
message
in class SdkClientException.BuilderImpl
message
- The details of this exception.public ApiCallTimeoutException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface ApiCallTimeoutException.Builder
cause
in interface SdkClientException.Builder
cause
in interface SdkException.Builder
cause
in class SdkClientException.BuilderImpl
cause
- The exception that caused this exception to occur.public ApiCallTimeoutException.Builder writableStackTrace(Boolean writableStackTrace)
SdkException.Builder
writableStackTrace
in interface ApiCallTimeoutException.Builder
writableStackTrace
in interface SdkClientException.Builder
writableStackTrace
in interface SdkException.Builder
writableStackTrace
in class SdkClientException.BuilderImpl
writableStackTrace
- Whether the stack trace can be written.public ApiCallTimeoutException build()
SdkException.Builder
SdkException
with the specified properties.build
in interface ApiCallTimeoutException.Builder
build
in interface SdkClientException.Builder
build
in interface SdkException.Builder
build
in interface Buildable
build
in class SdkClientException.BuilderImpl
SdkException
.Copyright © 2023. All rights reserved.