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