Class CfnEnvironment.InitialVlanInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.evs.CfnEnvironment.InitialVlanInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironment.InitialVlanInfoProperty>
- Enclosing interface:
CfnEnvironment.InitialVlanInfoProperty
@Stability(Stable)
public static final class CfnEnvironment.InitialVlanInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironment.InitialVlanInfoProperty>
A builder for
CfnEnvironment.InitialVlanInfoProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnEnvironment.InitialVlanInfoProperty.getCidr()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidr
Sets the value ofCfnEnvironment.InitialVlanInfoProperty.getCidr()
- Parameters:
cidr
- The CIDR block that you provide to create an Amazon EVS VLAN subnet. This parameter is required. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEnvironment.InitialVlanInfoProperty>
- Returns:
- a new instance of
CfnEnvironment.InitialVlanInfoProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-