public static final class ClustersTypes.NCPClusterNetworkEnableSpec.Builder
extends java.lang.Object
ClustersTypes.NCPClusterNetworkEnableSpec
.Constructor and Description |
---|
Builder(java.util.List<Ipv4Cidr> podCidrs,
java.util.List<Ipv4Cidr> ingressCidrs,
java.util.List<Ipv4Cidr> egressCidrs)
Constructor with parameters for the required properties of
ClustersTypes.NCPClusterNetworkEnableSpec . |
Modifier and Type | Method and Description |
---|---|
ClustersTypes.NCPClusterNetworkEnableSpec |
build() |
ClustersTypes.NCPClusterNetworkEnableSpec.Builder |
setClusterDistributedSwitch(java.lang.String clusterDistributedSwitch)
vSphere Distributed Switch used to connect this cluster.
|
ClustersTypes.NCPClusterNetworkEnableSpec.Builder |
setNsxEdgeCluster(java.lang.String nsxEdgeCluster)
NSX Edge Cluster to be used for Kubernetes Services of type LoadBalancer,
Kubernetes Ingresses, and NSX SNAT.
|
public Builder(java.util.List<Ipv4Cidr> podCidrs, java.util.List<Ipv4Cidr> ingressCidrs, java.util.List<Ipv4Cidr> egressCidrs)
ClustersTypes.NCPClusterNetworkEnableSpec
.public ClustersTypes.NCPClusterNetworkEnableSpec.Builder setClusterDistributedSwitch(java.lang.String clusterDistributedSwitch)
null
and using NSXe, the system will choose a suitable vSphere Distributed
Switch.clusterDistributedSwitch
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: vSphereDistributedSwitch
. When methods
return a value of this class as a return value, the property will be an
identifier for the resource type: vSphereDistributedSwitch
.public ClustersTypes.NCPClusterNetworkEnableSpec.Builder setNsxEdgeCluster(java.lang.String nsxEdgeCluster)
null
and using NSXe, the system will choose a suitable NSX Edge Cluster.nsxEdgeCluster
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: NSXEdgeCluster
. When methods return a
value of this class as a return value, the property will be an identifier for
the resource type: NSXEdgeCluster
.public ClustersTypes.NCPClusterNetworkEnableSpec build()