Class CfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty>
- Enclosing interface:
CfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty
@Stability(Stable)
public static final class CfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
value
@Stability(Stable) public CfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty.Builder value(Number value) Sets the value ofCfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty.getValue()
- Parameters:
value
- The Diffie-Hellmann group number.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty>
- Returns:
- a new instance of
CfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-