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