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