Class CfnNetworkInterfaceAttachmentPropsMixin.EnaSrdUdpSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNetworkInterfaceAttachmentPropsMixin.EnaSrdUdpSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInterfaceAttachmentPropsMixin.EnaSrdUdpSpecificationProperty>
- Enclosing interface:
CfnNetworkInterfaceAttachmentPropsMixin.EnaSrdUdpSpecificationProperty
@Stability(Stable)
public static final class CfnNetworkInterfaceAttachmentPropsMixin.EnaSrdUdpSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInterfaceAttachmentPropsMixin.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 CfnNetworkInterfaceAttachmentPropsMixin.EnaSrdUdpSpecificationProperty.Builder enaSrdUdpEnabled(Boolean enaSrdUdpEnabled) Sets the value ofCfnNetworkInterfaceAttachmentPropsMixin.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 CfnNetworkInterfaceAttachmentPropsMixin.EnaSrdUdpSpecificationProperty.Builder enaSrdUdpEnabled(IResolvable enaSrdUdpEnabled) Sets the value ofCfnNetworkInterfaceAttachmentPropsMixin.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
@Stability(Stable) public CfnNetworkInterfaceAttachmentPropsMixin.EnaSrdUdpSpecificationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInterfaceAttachmentPropsMixin.EnaSrdUdpSpecificationProperty>- Returns:
- a new instance of
CfnNetworkInterfaceAttachmentPropsMixin.EnaSrdUdpSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-