Class CfnLaunchTemplate.EnaSrdSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnLaunchTemplate.EnaSrdSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplate.EnaSrdSpecificationProperty>
- Enclosing interface:
CfnLaunchTemplate.EnaSrdSpecificationProperty
@Stability(Stable)
public static final class CfnLaunchTemplate.EnaSrdSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplate.EnaSrdSpecificationProperty>
A builder for
CfnLaunchTemplate.EnaSrdSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enaSrdEnabled(Boolean enaSrdEnabled) Sets the value ofCfnLaunchTemplate.EnaSrdSpecificationProperty.getEnaSrdEnabled()enaSrdEnabled(IResolvable enaSrdEnabled) Sets the value ofCfnLaunchTemplate.EnaSrdSpecificationProperty.getEnaSrdEnabled()enaSrdUdpSpecification(IResolvable enaSrdUdpSpecification) enaSrdUdpSpecification(CfnLaunchTemplate.EnaSrdUdpSpecificationProperty enaSrdUdpSpecification)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enaSrdEnabled
@Stability(Stable) public CfnLaunchTemplate.EnaSrdSpecificationProperty.Builder enaSrdEnabled(Boolean enaSrdEnabled) Sets the value ofCfnLaunchTemplate.EnaSrdSpecificationProperty.getEnaSrdEnabled()- Parameters:
enaSrdEnabled- Indicates whether ENA Express is enabled for the network interface.- Returns:
this
-
enaSrdEnabled
@Stability(Stable) public CfnLaunchTemplate.EnaSrdSpecificationProperty.Builder enaSrdEnabled(IResolvable enaSrdEnabled) Sets the value ofCfnLaunchTemplate.EnaSrdSpecificationProperty.getEnaSrdEnabled()- Parameters:
enaSrdEnabled- Indicates whether ENA Express is enabled for the network interface.- Returns:
this
-
enaSrdUdpSpecification
@Stability(Stable) public CfnLaunchTemplate.EnaSrdSpecificationProperty.Builder enaSrdUdpSpecification(IResolvable enaSrdUdpSpecification) - Parameters:
enaSrdUdpSpecification- Configures ENA Express for UDP network traffic.- Returns:
this
-
enaSrdUdpSpecification
@Stability(Stable) public CfnLaunchTemplate.EnaSrdSpecificationProperty.Builder enaSrdUdpSpecification(CfnLaunchTemplate.EnaSrdUdpSpecificationProperty enaSrdUdpSpecification) - Parameters:
enaSrdUdpSpecification- Configures ENA Express for UDP network traffic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplate.EnaSrdSpecificationProperty>- Returns:
- a new instance of
CfnLaunchTemplate.EnaSrdSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-