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