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