Class CfnInstance.EnaSrdUdpSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnInstance.EnaSrdUdpSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstance.EnaSrdUdpSpecificationProperty>
- Enclosing interface:
CfnInstance.EnaSrdUdpSpecificationProperty
@Stability(Stable)
public static final class CfnInstance.EnaSrdUdpSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstance.EnaSrdUdpSpecificationProperty>
A builder for
CfnInstance.EnaSrdUdpSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enaSrdUdpEnabled(Boolean enaSrdUdpEnabled) Sets the value ofCfnInstance.EnaSrdUdpSpecificationProperty.getEnaSrdUdpEnabled()enaSrdUdpEnabled(IResolvable enaSrdUdpEnabled) Sets the value ofCfnInstance.EnaSrdUdpSpecificationProperty.getEnaSrdUdpEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enaSrdUdpEnabled
@Stability(Stable) public CfnInstance.EnaSrdUdpSpecificationProperty.Builder enaSrdUdpEnabled(Boolean enaSrdUdpEnabled) Sets the value ofCfnInstance.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 CfnInstance.EnaSrdUdpSpecificationProperty.Builder enaSrdUdpEnabled(IResolvable enaSrdUdpEnabled) Sets the value ofCfnInstance.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnInstance.EnaSrdUdpSpecificationProperty>- Returns:
- a new instance of
CfnInstance.EnaSrdUdpSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-