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