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