protected static final class ApiCallAttemptTimeoutException.BuilderImpl extends SdkClientException.BuilderImpl implements ApiCallAttemptTimeoutException.Builder
cause, message, writableStackTrace
Modifier | Constructor and Description |
---|---|
protected |
BuilderImpl() |
protected |
BuilderImpl(ApiCallAttemptTimeoutException ex) |
Modifier and Type | Method and Description |
---|---|
ApiCallAttemptTimeoutException |
build()
Creates a new
SdkException with the specified properties. |
ApiCallAttemptTimeoutException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
ApiCallAttemptTimeoutException.Builder |
message(String message)
Specifies the details of this exception.
|
ApiCallAttemptTimeoutException.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(ApiCallAttemptTimeoutException ex)
public ApiCallAttemptTimeoutException.Builder message(String message)
SdkException.Builder
message
in interface ApiCallAttemptTimeoutException.Builder
message
in interface SdkClientException.Builder
message
in interface SdkException.Builder
message
in class SdkClientException.BuilderImpl
message
- The details of this exception.public ApiCallAttemptTimeoutException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface ApiCallAttemptTimeoutException.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 ApiCallAttemptTimeoutException.Builder writableStackTrace(Boolean writableStackTrace)
SdkException.Builder
writableStackTrace
in interface ApiCallAttemptTimeoutException.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 ApiCallAttemptTimeoutException build()
SdkException.Builder
SdkException
with the specified properties.build
in interface ApiCallAttemptTimeoutException.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.