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