Interface EnaSrdSpecificationRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EnaSrdSpecificationRequest.Builder,,EnaSrdSpecificationRequest> SdkBuilder<EnaSrdSpecificationRequest.Builder,,EnaSrdSpecificationRequest> SdkPojo
- Enclosing class:
EnaSrdSpecificationRequest
@Mutable
@NotThreadSafe
public static interface EnaSrdSpecificationRequest.Builder
extends SdkPojo, CopyableBuilder<EnaSrdSpecificationRequest.Builder,EnaSrdSpecificationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionenaSrdEnabled(Boolean enaSrdEnabled) Specifies whether ENA Express is enabled for the network interface when you launch an instance.enaSrdUdpSpecification(Consumer<EnaSrdUdpSpecificationRequest.Builder> enaSrdUdpSpecification) Contains ENA Express settings for UDP network traffic for the network interface attached to the instance.enaSrdUdpSpecification(EnaSrdUdpSpecificationRequest enaSrdUdpSpecification) Contains ENA Express settings for UDP network traffic for the network interface attached to the instance.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
Specifies whether ENA Express is enabled for the network interface when you launch an instance.
- Parameters:
enaSrdEnabled- Specifies whether ENA Express is enabled for the network interface when you launch an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enaSrdUdpSpecification
EnaSrdSpecificationRequest.Builder enaSrdUdpSpecification(EnaSrdUdpSpecificationRequest enaSrdUdpSpecification) Contains ENA Express settings for UDP network traffic for the network interface attached to the instance.
- Parameters:
enaSrdUdpSpecification- Contains ENA Express settings for UDP network traffic for the network interface attached to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enaSrdUdpSpecification
default EnaSrdSpecificationRequest.Builder enaSrdUdpSpecification(Consumer<EnaSrdUdpSpecificationRequest.Builder> enaSrdUdpSpecification) Contains ENA Express settings for UDP network traffic for the network interface attached to the instance.
This is a convenience method that creates an instance of theEnaSrdUdpSpecificationRequest.Builderavoiding the need to create one manually viaEnaSrdUdpSpecificationRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenaSrdUdpSpecification(EnaSrdUdpSpecificationRequest).- Parameters:
enaSrdUdpSpecification- a consumer that will call methods onEnaSrdUdpSpecificationRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-