Interface EnaSrdSpecificationRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EnaSrdSpecificationRequest.Builder,
,EnaSrdSpecificationRequest> SdkBuilder<EnaSrdSpecificationRequest.Builder,
,EnaSrdSpecificationRequest> SdkPojo
- Enclosing class:
EnaSrdSpecificationRequest
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 from your launch template.enaSrdUdpSpecification
(Consumer<EnaSrdUdpSpecificationRequest.Builder> enaSrdUdpSpecification) Contains ENA Express settings for UDP network traffic in your launch template.enaSrdUdpSpecification
(EnaSrdUdpSpecificationRequest enaSrdUdpSpecification) Contains ENA Express settings for UDP network traffic in your launch template.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
Specifies whether ENA Express is enabled for the network interface when you launch an instance from your launch template.
- Parameters:
enaSrdEnabled
- Specifies whether ENA Express is enabled for the network interface when you launch an instance from your launch template.- 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 in your launch template.
- Parameters:
enaSrdUdpSpecification
- Contains ENA Express settings for UDP network traffic in your launch template.- 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 in your launch template.
This is a convenience method that creates an instance of theEnaSrdUdpSpecificationRequest.Builder
avoiding the need to create one manually viaEnaSrdUdpSpecificationRequest.builder()
.When the
Consumer
completes,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:
-