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.BuildersocketAddress(Consumer<SocketAddress.Builder> socketAddress) A socket address.socketAddress(SocketAddress socketAddress) A socket address.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaSocketAddress.builder().When the
Consumercompletes,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:
-