Interface AttachmentEnaSrdSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AttachmentEnaSrdSpecification.Builder,,AttachmentEnaSrdSpecification> SdkBuilder<AttachmentEnaSrdSpecification.Builder,,AttachmentEnaSrdSpecification> SdkPojo
- Enclosing class:
AttachmentEnaSrdSpecification
public static interface AttachmentEnaSrdSpecification.Builder
extends SdkPojo, CopyableBuilder<AttachmentEnaSrdSpecification.Builder,AttachmentEnaSrdSpecification>
-
Method Summary
Modifier and TypeMethodDescriptionenaSrdEnabled(Boolean enaSrdEnabled) Indicates whether ENA Express is enabled for the network interface.enaSrdUdpSpecification(Consumer<AttachmentEnaSrdUdpSpecification.Builder> enaSrdUdpSpecification) Configures ENA Express for UDP network traffic.enaSrdUdpSpecification(AttachmentEnaSrdUdpSpecification enaSrdUdpSpecification) Configures ENA Express for UDP network traffic.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, sdkFields
-
Method Details
-
enaSrdEnabled
Indicates whether ENA Express is enabled for the network interface.
- Parameters:
enaSrdEnabled- Indicates whether ENA Express is enabled for the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enaSrdUdpSpecification
AttachmentEnaSrdSpecification.Builder enaSrdUdpSpecification(AttachmentEnaSrdUdpSpecification enaSrdUdpSpecification) Configures ENA Express for UDP network traffic.
- Parameters:
enaSrdUdpSpecification- Configures ENA Express for UDP network traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enaSrdUdpSpecification
default AttachmentEnaSrdSpecification.Builder enaSrdUdpSpecification(Consumer<AttachmentEnaSrdUdpSpecification.Builder> enaSrdUdpSpecification) Configures ENA Express for UDP network traffic.
This is a convenience method that creates an instance of theAttachmentEnaSrdUdpSpecification.Builderavoiding the need to create one manually viaAttachmentEnaSrdUdpSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenaSrdUdpSpecification(AttachmentEnaSrdUdpSpecification).- Parameters:
enaSrdUdpSpecification- a consumer that will call methods onAttachmentEnaSrdUdpSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-