Class CfnEnvironment.InitialVlansProperty.Builder
java.lang.Object
software.amazon.awscdk.services.evs.CfnEnvironment.InitialVlansProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironment.InitialVlansProperty>
- Enclosing interface:
CfnEnvironment.InitialVlansProperty
@Stability(Stable)
public static final class CfnEnvironment.InitialVlansProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironment.InitialVlansProperty>
A builder for
CfnEnvironment.InitialVlansProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.edgeVTep(IResolvable edgeVTep) Sets the value ofCfnEnvironment.InitialVlansProperty.getEdgeVTep()Sets the value ofCfnEnvironment.InitialVlansProperty.getEdgeVTep()expansionVlan1(IResolvable expansionVlan1) Sets the value ofCfnEnvironment.InitialVlansProperty.getExpansionVlan1()expansionVlan1(CfnEnvironment.InitialVlanInfoProperty expansionVlan1) Sets the value ofCfnEnvironment.InitialVlansProperty.getExpansionVlan1()expansionVlan2(IResolvable expansionVlan2) Sets the value ofCfnEnvironment.InitialVlansProperty.getExpansionVlan2()expansionVlan2(CfnEnvironment.InitialVlanInfoProperty expansionVlan2) Sets the value ofCfnEnvironment.InitialVlansProperty.getExpansionVlan2()hcx(IResolvable hcx) Sets the value ofCfnEnvironment.InitialVlansProperty.getHcx()Sets the value ofCfnEnvironment.InitialVlansProperty.getHcx()hcxNetworkAclId(String hcxNetworkAclId) Sets the value ofCfnEnvironment.InitialVlansProperty.getHcxNetworkAclId()isHcxPublic(Boolean isHcxPublic) Sets the value ofCfnEnvironment.InitialVlansProperty.getIsHcxPublic()isHcxPublic(IResolvable isHcxPublic) Sets the value ofCfnEnvironment.InitialVlansProperty.getIsHcxPublic()nsxUpLink(IResolvable nsxUpLink) Sets the value ofCfnEnvironment.InitialVlansProperty.getNsxUpLink()nsxUpLink(CfnEnvironment.InitialVlanInfoProperty nsxUpLink) Sets the value ofCfnEnvironment.InitialVlansProperty.getNsxUpLink()vmkManagement(IResolvable vmkManagement) Sets the value ofCfnEnvironment.InitialVlansProperty.getVmkManagement()vmkManagement(CfnEnvironment.InitialVlanInfoProperty vmkManagement) Sets the value ofCfnEnvironment.InitialVlansProperty.getVmkManagement()vmManagement(IResolvable vmManagement) Sets the value ofCfnEnvironment.InitialVlansProperty.getVmManagement()vmManagement(CfnEnvironment.InitialVlanInfoProperty vmManagement) Sets the value ofCfnEnvironment.InitialVlansProperty.getVmManagement()vMotion(IResolvable vMotion) Sets the value ofCfnEnvironment.InitialVlansProperty.getVMotion()Sets the value ofCfnEnvironment.InitialVlansProperty.getVMotion()vSan(IResolvable vSan) Sets the value ofCfnEnvironment.InitialVlansProperty.getVSan()Sets the value ofCfnEnvironment.InitialVlansProperty.getVSan()vTep(IResolvable vTep) Sets the value ofCfnEnvironment.InitialVlansProperty.getVTep()Sets the value ofCfnEnvironment.InitialVlansProperty.getVTep()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
edgeVTep
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder edgeVTep(IResolvable edgeVTep) Sets the value ofCfnEnvironment.InitialVlansProperty.getEdgeVTep()- Parameters:
edgeVTep- The edge VTEP VLAN subnet. This parameter is required. This VLAN subnet manages traffic flowing between the internal network and external networks, including internet access and other site connections.- Returns:
this
-
edgeVTep
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder edgeVTep(CfnEnvironment.InitialVlanInfoProperty edgeVTep) Sets the value ofCfnEnvironment.InitialVlansProperty.getEdgeVTep()- Parameters:
edgeVTep- The edge VTEP VLAN subnet. This parameter is required. This VLAN subnet manages traffic flowing between the internal network and external networks, including internet access and other site connections.- Returns:
this
-
expansionVlan1
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder expansionVlan1(IResolvable expansionVlan1) Sets the value ofCfnEnvironment.InitialVlansProperty.getExpansionVlan1()- Parameters:
expansionVlan1- An additional VLAN subnet that can be used to extend VCF capabilities once configured. This parameter is required. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations.- Returns:
this
-
expansionVlan1
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder expansionVlan1(CfnEnvironment.InitialVlanInfoProperty expansionVlan1) Sets the value ofCfnEnvironment.InitialVlansProperty.getExpansionVlan1()- Parameters:
expansionVlan1- An additional VLAN subnet that can be used to extend VCF capabilities once configured. This parameter is required. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations.- Returns:
this
-
expansionVlan2
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder expansionVlan2(IResolvable expansionVlan2) Sets the value ofCfnEnvironment.InitialVlansProperty.getExpansionVlan2()- Parameters:
expansionVlan2- An additional VLAN subnet that can be used to extend VCF capabilities once configured. This parameter is required. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations.- Returns:
this
-
expansionVlan2
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder expansionVlan2(CfnEnvironment.InitialVlanInfoProperty expansionVlan2) Sets the value ofCfnEnvironment.InitialVlansProperty.getExpansionVlan2()- Parameters:
expansionVlan2- An additional VLAN subnet that can be used to extend VCF capabilities once configured. This parameter is required. For example, you can configure an expansion VLAN subnet to use NSX Federation for centralized management and synchronization of multiple NSX deployments across different locations.- Returns:
this
-
hcx
Sets the value ofCfnEnvironment.InitialVlansProperty.getHcx()- Parameters:
hcx- The HCX VLAN subnet. This parameter is required. This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation.If you plan to use a public HCX VLAN subnet, the following requirements must be met:
- Must have a /28 netmask and be allocated from the IPAM public pool. Required for HCX internet access configuration.
- The HCX public VLAN CIDR block must be added to the VPC as a secondary CIDR block.
- Must have at least two Elastic IP addresses to be allocated from the public IPAM pool for HCX components.
- Returns:
this
-
hcx
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder hcx(CfnEnvironment.InitialVlanInfoProperty hcx) Sets the value ofCfnEnvironment.InitialVlansProperty.getHcx()- Parameters:
hcx- The HCX VLAN subnet. This parameter is required. This VLAN subnet allows the HCX Interconnnect (IX) and HCX Network Extension (NE) to reach their peers and enable HCX Service Mesh creation.If you plan to use a public HCX VLAN subnet, the following requirements must be met:
- Must have a /28 netmask and be allocated from the IPAM public pool. Required for HCX internet access configuration.
- The HCX public VLAN CIDR block must be added to the VPC as a secondary CIDR block.
- Must have at least two Elastic IP addresses to be allocated from the public IPAM pool for HCX components.
- Returns:
this
-
nsxUpLink
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder nsxUpLink(IResolvable nsxUpLink) Sets the value ofCfnEnvironment.InitialVlansProperty.getNsxUpLink()- Parameters:
nsxUpLink- The NSX uplink VLAN subnet. This parameter is required. This VLAN subnet allows connectivity to the NSX overlay network.- Returns:
this
-
nsxUpLink
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder nsxUpLink(CfnEnvironment.InitialVlanInfoProperty nsxUpLink) Sets the value ofCfnEnvironment.InitialVlansProperty.getNsxUpLink()- Parameters:
nsxUpLink- The NSX uplink VLAN subnet. This parameter is required. This VLAN subnet allows connectivity to the NSX overlay network.- Returns:
this
-
vmkManagement
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder vmkManagement(IResolvable vmkManagement) Sets the value ofCfnEnvironment.InitialVlansProperty.getVmkManagement()- Parameters:
vmkManagement- The host VMkernel management VLAN subnet. This parameter is required. This VLAN subnet carries traffic for managing ESXi hosts and communicating with VMware vCenter Server.- Returns:
this
-
vmkManagement
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder vmkManagement(CfnEnvironment.InitialVlanInfoProperty vmkManagement) Sets the value ofCfnEnvironment.InitialVlansProperty.getVmkManagement()- Parameters:
vmkManagement- The host VMkernel management VLAN subnet. This parameter is required. This VLAN subnet carries traffic for managing ESXi hosts and communicating with VMware vCenter Server.- Returns:
this
-
vmManagement
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder vmManagement(IResolvable vmManagement) Sets the value ofCfnEnvironment.InitialVlansProperty.getVmManagement()- Parameters:
vmManagement- The VM management VLAN subnet. This parameter is required. This VLAN subnet carries traffic for vSphere virtual machines.- Returns:
this
-
vmManagement
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder vmManagement(CfnEnvironment.InitialVlanInfoProperty vmManagement) Sets the value ofCfnEnvironment.InitialVlansProperty.getVmManagement()- Parameters:
vmManagement- The VM management VLAN subnet. This parameter is required. This VLAN subnet carries traffic for vSphere virtual machines.- Returns:
this
-
vMotion
Sets the value ofCfnEnvironment.InitialVlansProperty.getVMotion()- Parameters:
vMotion- The vMotion VLAN subnet. This parameter is required. This VLAN subnet carries traffic for vSphere vMotion.- Returns:
this
-
vMotion
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder vMotion(CfnEnvironment.InitialVlanInfoProperty vMotion) Sets the value ofCfnEnvironment.InitialVlansProperty.getVMotion()- Parameters:
vMotion- The vMotion VLAN subnet. This parameter is required. This VLAN subnet carries traffic for vSphere vMotion.- Returns:
this
-
vSan
Sets the value ofCfnEnvironment.InitialVlansProperty.getVSan()- Parameters:
vSan- The vSAN VLAN subnet. This parameter is required. This VLAN subnet carries the communication between ESXi hosts to implement a vSAN shared storage pool.- Returns:
this
-
vSan
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder vSan(CfnEnvironment.InitialVlanInfoProperty vSan) Sets the value ofCfnEnvironment.InitialVlansProperty.getVSan()- Parameters:
vSan- The vSAN VLAN subnet. This parameter is required. This VLAN subnet carries the communication between ESXi hosts to implement a vSAN shared storage pool.- Returns:
this
-
vTep
Sets the value ofCfnEnvironment.InitialVlansProperty.getVTep()- Parameters:
vTep- The VTEP VLAN subnet. This parameter is required. This VLAN subnet handles internal network traffic between virtual machines within a VCF instance.- Returns:
this
-
vTep
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder vTep(CfnEnvironment.InitialVlanInfoProperty vTep) Sets the value ofCfnEnvironment.InitialVlansProperty.getVTep()- Parameters:
vTep- The VTEP VLAN subnet. This parameter is required. This VLAN subnet handles internal network traffic between virtual machines within a VCF instance.- Returns:
this
-
hcxNetworkAclId
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder hcxNetworkAclId(String hcxNetworkAclId) Sets the value ofCfnEnvironment.InitialVlansProperty.getHcxNetworkAclId()- Parameters:
hcxNetworkAclId- A unique ID for a network access control list that the HCX VLAN uses. Required whenisHcxPublicis set totrue.- Returns:
this
-
isHcxPublic
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder isHcxPublic(Boolean isHcxPublic) Sets the value ofCfnEnvironment.InitialVlansProperty.getIsHcxPublic()- Parameters:
isHcxPublic- Determines if the HCX VLAN that Amazon EVS provisions is public or private.- Returns:
this
-
isHcxPublic
@Stability(Stable) public CfnEnvironment.InitialVlansProperty.Builder isHcxPublic(IResolvable isHcxPublic) Sets the value ofCfnEnvironment.InitialVlansProperty.getIsHcxPublic()- Parameters:
isHcxPublic- Determines if the HCX VLAN that Amazon EVS provisions is public or private.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironment.InitialVlansProperty>- Returns:
- a new instance of
CfnEnvironment.InitialVlansProperty - Throws:
NullPointerException- if any required attribute was not provided
-