protected static final class NonRetryableException.BuilderImpl extends SdkClientException.BuilderImpl implements NonRetryableException.Builder
cause, message
Modifier | Constructor and Description |
---|---|
protected |
BuilderImpl() |
protected |
BuilderImpl(NonRetryableException ex) |
Modifier and Type | Method and Description |
---|---|
NonRetryableException |
build()
Creates a new
SdkException with the specified properties. |
Throwable |
cause()
The exception that caused this exception to occur.
|
NonRetryableException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
String |
message()
The details of this exception.
|
NonRetryableException.Builder |
message(String message)
Specifies the details of this exception.
|
getCause, getMessage, setCause, setMessage
protected BuilderImpl()
protected BuilderImpl(NonRetryableException ex)
public NonRetryableException.Builder message(String message)
SdkException.Builder
message
in interface NonRetryableException.Builder
message
in interface SdkClientException.Builder
message
in interface SdkException.Builder
message
in class SdkClientException.BuilderImpl
message
- The details of this exception.public String message()
SdkException.Builder
message
in interface SdkException.Builder
message
in class SdkException.BuilderImpl
public Throwable cause()
SdkException.Builder
cause
in interface SdkException.Builder
cause
in class SdkException.BuilderImpl
public NonRetryableException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface NonRetryableException.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 NonRetryableException build()
SdkException.Builder
SdkException
with the specified properties.build
in interface NonRetryableException.Builder
build
in interface SdkClientException.Builder
build
in interface SdkException.Builder
build
in class SdkClientException.BuilderImpl
SdkException
.Copyright © 2018. All rights reserved.