Class NetworkConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.NetworkConfiguration.Builder
-
- Enclosing class:
- NetworkConfiguration
public static class NetworkConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkConfiguration
build()
NetworkConfiguration.Builder
copy(NetworkConfiguration model)
NetworkConfiguration.Builder
hcxVlanId(String hcxVlanId)
The OCID of the VLAN used by the SDDC for the HCX component of the VMware environment.NetworkConfiguration.Builder
nsxEdgeUplink1VlanId(String nsxEdgeUplink1VlanId)
The OCID of the VLAN used by the SDDC for the NSX Edge Uplink 1 component of the VMware environment.NetworkConfiguration.Builder
nsxEdgeUplink2VlanId(String nsxEdgeUplink2VlanId)
The OCID of the VLAN used by the SDDC for the NSX Edge Uplink 2 component of the VMware environment.NetworkConfiguration.Builder
nsxEdgeVTepVlanId(String nsxEdgeVTepVlanId)
The OCID of the VLAN used by the Cluster for the NSX Edge VTEP component of the VMware environment.NetworkConfiguration.Builder
nsxVTepVlanId(String nsxVTepVlanId)
The OCID of the VLAN used by the Cluster for the NSX VTEP component of the VMware environment.NetworkConfiguration.Builder
provisioningSubnetId(String provisioningSubnetId)
The OCID of the management subnet used to provision the Cluster.NetworkConfiguration.Builder
provisioningVlanId(String provisioningVlanId)
The OCID of the VLAN used by the Cluster for the Provisioning component of the VMware environment.NetworkConfiguration.Builder
replicationVlanId(String replicationVlanId)
The OCID of the VLAN used by the Cluster for the vSphere Replication component of the VMware environment.NetworkConfiguration.Builder
vmotionVlanId(String vmotionVlanId)
The OCID of the VLAN used by the Cluster for the vMotion component of the VMware environment.NetworkConfiguration.Builder
vsanVlanId(String vsanVlanId)
The OCID of the VLAN used by the Cluster for the vSAN component of the VMware environment.NetworkConfiguration.Builder
vsphereVlanId(String vsphereVlanId)
The OCID of the VLAN used by the SDDC for the vSphere component of the VMware environment.
-
-
-
Method Detail
-
provisioningSubnetId
public NetworkConfiguration.Builder provisioningSubnetId(String provisioningSubnetId)
The OCID of the management subnet used to provision the Cluster.- Parameters:
provisioningSubnetId
- the value to set- Returns:
- this builder
-
vsphereVlanId
public NetworkConfiguration.Builder vsphereVlanId(String vsphereVlanId)
The OCID of the VLAN used by the SDDC for the vSphere component of the VMware environment.This VLAN is a mandatory attribute for Management Cluster.
This attribute is not guaranteed to reflect the vSphere VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the vSphere VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the vSphere component of the VMware environment, you should use
updateSddc
to update the Cluster's vsphereVlanId with that new VLAN's OCID.- Parameters:
vsphereVlanId
- the value to set- Returns:
- this builder
-
vmotionVlanId
public NetworkConfiguration.Builder vmotionVlanId(String vmotionVlanId)
The OCID of the VLAN used by the Cluster for the vMotion component of the VMware environment.This attribute is not guaranteed to reflect the vMotion VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the vMotion VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the vMotion component of the VMware environment, you should use
updateCluster
to update the Cluster's vmotionVlanId with that new VLAN's OCID.- Parameters:
vmotionVlanId
- the value to set- Returns:
- this builder
-
vsanVlanId
public NetworkConfiguration.Builder vsanVlanId(String vsanVlanId)
The OCID of the VLAN used by the Cluster for the vSAN component of the VMware environment.This attribute is not guaranteed to reflect the vSAN VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the vSAN VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the vSAN component of the VMware environment, you should use
updateCluster
to update the Cluster's vsanVlanId with that new VLAN's OCID.- Parameters:
vsanVlanId
- the value to set- Returns:
- this builder
-
nsxVTepVlanId
public NetworkConfiguration.Builder nsxVTepVlanId(String nsxVTepVlanId)
The OCID of the VLAN used by the Cluster for the NSX VTEP component of the VMware environment.This attribute is not guaranteed to reflect the NSX VTEP VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX VTEP VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX VTEP component of the VMware environment, you should use
updateCluster
to update the Cluster's nsxVTepVlanId with that new VLAN's OCID.- Parameters:
nsxVTepVlanId
- the value to set- Returns:
- this builder
-
nsxEdgeVTepVlanId
public NetworkConfiguration.Builder nsxEdgeVTepVlanId(String nsxEdgeVTepVlanId)
The OCID of the VLAN used by the Cluster for the NSX Edge VTEP component of the VMware environment.This attribute is not guaranteed to reflect the NSX Edge VTEP VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX Edge VTEP VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX Edge VTEP component of the VMware environment, you should use
updateCluster
to update the Cluster's nsxEdgeVTepVlanId with that new VLAN's OCID.- Parameters:
nsxEdgeVTepVlanId
- the value to set- Returns:
- this builder
-
nsxEdgeUplink1VlanId
public NetworkConfiguration.Builder nsxEdgeUplink1VlanId(String nsxEdgeUplink1VlanId)
The OCID of the VLAN used by the SDDC for the NSX Edge Uplink 1 component of the VMware environment.This VLAN is a mandatory attribute for Management Cluster.
This attribute is not guaranteed to reflect the NSX Edge Uplink 1 VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX Edge Uplink 1 VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX Edge Uplink 1 component of the VMware environment, you should use
updateCluster
to update the Cluster's nsxEdgeUplink1VlanId with that new VLAN's OCID.- Parameters:
nsxEdgeUplink1VlanId
- the value to set- Returns:
- this builder
-
nsxEdgeUplink2VlanId
public NetworkConfiguration.Builder nsxEdgeUplink2VlanId(String nsxEdgeUplink2VlanId)
The OCID of the VLAN used by the SDDC for the NSX Edge Uplink 2 component of the VMware environment.This VLAN is a mandatory attribute for Management Cluster.
This attribute is not guaranteed to reflect the NSX Edge Uplink 2 VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX Edge Uplink 2 VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this Cluster in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX Edge Uplink 2 component of the VMware environment, you should use
updateCluster
to update the Cluster's nsxEdgeUplink2VlanId with that new VLAN's OCID.- Parameters:
nsxEdgeUplink2VlanId
- the value to set- Returns:
- this builder
-
replicationVlanId
public NetworkConfiguration.Builder replicationVlanId(String replicationVlanId)
The OCID of the VLAN used by the Cluster for the vSphere Replication component of the VMware environment.- Parameters:
replicationVlanId
- the value to set- Returns:
- this builder
-
provisioningVlanId
public NetworkConfiguration.Builder provisioningVlanId(String provisioningVlanId)
The OCID of the VLAN used by the Cluster for the Provisioning component of the VMware environment.- Parameters:
provisioningVlanId
- the value to set- Returns:
- this builder
-
hcxVlanId
public NetworkConfiguration.Builder hcxVlanId(String hcxVlanId)
The OCID of the VLAN used by the SDDC for the HCX component of the VMware environment.This VLAN is a mandatory attribute for Management Cluster when HCX is enabled.
This attribute is not guaranteed to reflect the HCX VLAN currently used by the ESXi hosts in the SDDC. The purpose of this attribute is to show the HCX VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you *add to this SDDC in the future* with
createEsxiHost
.Therefore, if you change the existing ESXi hosts in the SDDC to use a different VLAN for the HCX component of the VMware environment, you should use
updateSddc
to update the SDDC's hcxVlanId with that new VLAN's OCID.- Parameters:
hcxVlanId
- the value to set- Returns:
- this builder
-
build
public NetworkConfiguration build()
-
copy
public NetworkConfiguration.Builder copy(NetworkConfiguration model)
-
-