protected static final class RetryableException.BuilderImpl extends SdkClientException.BuilderImpl implements RetryableException.Builder
cause, message
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.
|
cause, getCause, getMessage, message, setCause, setMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cause, message
protected BuilderImpl()
protected BuilderImpl(RetryableException ex)
public RetryableException.Builder message(String message)
SdkException.Builder
message
in interface RetryableException.Builder
message
in interface SdkClientException.Builder
message
in interface SdkException.Builder
message
in class SdkClientException.BuilderImpl
message
- The details of this exception.public RetryableException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface RetryableException.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 RetryableException build()
SdkException.Builder
SdkException
with the specified properties.build
in interface RetryableException.Builder
build
in interface SdkClientException.Builder
build
in interface SdkException.Builder
build
in interface Buildable
build
in class SdkClientException.BuilderImpl
SdkException
.Copyright © 2020. All rights reserved.