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