Class CfnLaunchTemplate.EnaSrdUdpSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnLaunchTemplate.EnaSrdUdpSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplate.EnaSrdUdpSpecificationProperty>
- Enclosing interface:
CfnLaunchTemplate.EnaSrdUdpSpecificationProperty
@Stability(Stable)
public static final class CfnLaunchTemplate.EnaSrdUdpSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplate.EnaSrdUdpSpecificationProperty>
A builder for
CfnLaunchTemplate.EnaSrdUdpSpecificationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.enaSrdUdpEnabled
(Boolean enaSrdUdpEnabled) Sets the value ofCfnLaunchTemplate.EnaSrdUdpSpecificationProperty.getEnaSrdUdpEnabled()
enaSrdUdpEnabled
(IResolvable enaSrdUdpEnabled) Sets the value ofCfnLaunchTemplate.EnaSrdUdpSpecificationProperty.getEnaSrdUdpEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enaSrdUdpEnabled
@Stability(Stable) public CfnLaunchTemplate.EnaSrdUdpSpecificationProperty.Builder enaSrdUdpEnabled(Boolean enaSrdUdpEnabled) Sets the value ofCfnLaunchTemplate.EnaSrdUdpSpecificationProperty.getEnaSrdUdpEnabled()
- Parameters:
enaSrdUdpEnabled
- Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.- Returns:
this
-
enaSrdUdpEnabled
@Stability(Stable) public CfnLaunchTemplate.EnaSrdUdpSpecificationProperty.Builder enaSrdUdpEnabled(IResolvable enaSrdUdpEnabled) Sets the value ofCfnLaunchTemplate.EnaSrdUdpSpecificationProperty.getEnaSrdUdpEnabled()
- Parameters:
enaSrdUdpEnabled
- Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplate.EnaSrdUdpSpecificationProperty>
- Returns:
- a new instance of
CfnLaunchTemplate.EnaSrdUdpSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-