Interface ConnectionDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectionDetails.Builder,
,ConnectionDetails> SdkBuilder<ConnectionDetails.Builder,
,ConnectionDetails> SdkPojo
- Enclosing class:
ConnectionDetails
@Mutable
@NotThreadSafe
public static interface ConnectionDetails.Builder
extends SdkPojo, CopyableBuilder<ConnectionDetails.Builder,ConnectionDetails>
-
Method Summary
Modifier and TypeMethodDescriptionMaximum transmission unit (MTU) size in bytes of a dataflow endpoint.default ConnectionDetails.Builder
socketAddress
(Consumer<SocketAddress.Builder> socketAddress) A socket address.socketAddress
(SocketAddress socketAddress) A socket address.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
mtu
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
- Parameters:
mtu
- Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
socketAddress
A socket address.
- Parameters:
socketAddress
- A socket address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
socketAddress
A socket address.
This is a convenience method that creates an instance of theSocketAddress.Builder
avoiding the need to create one manually viaSocketAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosocketAddress(SocketAddress)
.- Parameters:
socketAddress
- a consumer that will call methods onSocketAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-