public static final class ClustersTypes.Info.Builder
extends java.lang.Object
ClustersTypes.Info
.Constructor and Description |
---|
Builder(ClustersTypes.Stats statSummary,
ClustersTypes.ConfigStatus configStatus,
java.util.List<ClustersTypes.Message> messages,
ClustersTypes.KubernetesStatus kubernetesStatus,
java.util.List<ClustersTypes.Message> kubernetesStatusMessages,
java.lang.String apiServerManagementEndpoint,
java.lang.String apiServerClusterEndpoint,
java.util.Set<java.lang.String> apiServers,
ClustersTypes.NetworkProvider networkProvider,
Ipv4Cidr serviceCidr)
Constructor with parameters for the required properties of
ClustersTypes.Info . |
Modifier and Type | Method and Description |
---|---|
ClustersTypes.Info |
build() |
ClustersTypes.Info.Builder |
setDefaultImageRegistry(ClustersTypes.ImageRegistry defaultImageRegistry)
Default image registry to use when Kubernetes Pod container specification does
not specify it as part of the container image name.
|
ClustersTypes.Info.Builder |
setDefaultImageRepository(java.lang.String defaultImageRepository)
Default image repository to use when Kubernetes Pod container specification does
not specify it as part of the container image name.
|
ClustersTypes.Info.Builder |
setDefaultKubernetesServiceContentLibrary(java.lang.String defaultKubernetesServiceContentLibrary)
Identifier of the Content Library which holds the VM Images for vSphere
Kubernetes Service.
|
ClustersTypes.Info.Builder |
setEphemeralStoragePolicy(java.lang.String ephemeralStoragePolicy)
Identifier of storage policy associated with ephemeral disks of all the
Kubernetes Pods in the cluster.
|
ClustersTypes.Info.Builder |
setImageStorage(ClustersTypes.ImageStorageSpec imageStorage)
Specification for storage to be used for container images.
|
ClustersTypes.Info.Builder |
setLoadBalancers(java.util.List<LoadBalancersTypes.Info> loadBalancers)
Information related to the Load balancer used for provisioning virtual servers
in the namespace.
|
ClustersTypes.Info.Builder |
setLoginBanner(java.lang.String loginBanner)
Disclaimer to be displayed prior to login via the Kubectl plugin.
|
ClustersTypes.Info.Builder |
setMasterDNS(java.util.List<java.lang.String> masterDNS)
List of DNS server IP addresses to use on Kubernetes API server, specified in
order of preference.
|
ClustersTypes.Info.Builder |
setMasterDNSNames(java.util.List<java.lang.String> masterDNSNames)
List of additional DNS names to associate with the Kubernetes API server.
|
ClustersTypes.Info.Builder |
setMasterDNSSearchDomains(java.util.List<java.lang.String> masterDNSSearchDomains)
List of domains (for example "vmware.com") to be searched when trying to lookup
a host name on Kubernetes API server, specified in order of preference.
|
ClustersTypes.Info.Builder |
setMasterManagementNetwork(ClustersTypes.NetworkSpec masterManagementNetwork)
Specification for the management network on Kubernetes API server.
|
ClustersTypes.Info.Builder |
setMasterNTPServers(java.util.List<java.lang.String> masterNTPServers)
List of NTP server DNS names or IP addresses to use on Kubernetes API server,
specified in order of preference.
|
ClustersTypes.Info.Builder |
setMasterStoragePolicy(java.lang.String masterStoragePolicy)
Identifier of storage policy associated with Kubernetes API server.
|
ClustersTypes.Info.Builder |
setNcpClusterNetworkInfo(ClustersTypes.NCPClusterNetworkInfo ncpClusterNetworkInfo)
Specification for the NSX Container Plugin cluster network.
|
ClustersTypes.Info.Builder |
setSizeHint(SizingHint sizeHint)
Current setting for
SizingHint . |
ClustersTypes.Info.Builder |
setTlsEndpointCertificate(java.lang.String tlsEndpointCertificate)
PEM-encoded x509 certificate used by TLS endpoint on Kubernetes API servers when
accessed via the load balancer, e.g.
|
ClustersTypes.Info.Builder |
setTlsManagementEndpointCertificate(java.lang.String tlsManagementEndpointCertificate)
PEM-encoded x509 certificate used by TLS endpoint on Kubernetes API servers when
accessed from the management network, e.g.
|
ClustersTypes.Info.Builder |
setWorkerDNS(java.util.List<java.lang.String> workerDNS)
List of DNS server IP addresses to use for pods that execute on the worker nodes
(which are native pods on ESXi hosts in the vSphere Namespaces Supervisor).
|
ClustersTypes.Info.Builder |
setWorkloadNetworks(ClustersTypes.WorkloadNetworksInfo workloadNetworks)
Information about workload networks associated with the cluster.
|
ClustersTypes.Info.Builder |
setWorkloadNtpServers(java.util.List<java.lang.String> workloadNtpServers)
Information about NTP server DNS names or IP addresses to use for workloads such
as Tanzu Kubernetes Grid VMs, specified in order of preference.
|
public Builder(ClustersTypes.Stats statSummary, ClustersTypes.ConfigStatus configStatus, java.util.List<ClustersTypes.Message> messages, ClustersTypes.KubernetesStatus kubernetesStatus, java.util.List<ClustersTypes.Message> kubernetesStatusMessages, java.lang.String apiServerManagementEndpoint, java.lang.String apiServerClusterEndpoint, java.util.Set<java.lang.String> apiServers, ClustersTypes.NetworkProvider networkProvider, Ipv4Cidr serviceCidr)
ClustersTypes.Info
.public ClustersTypes.Info.Builder setSizeHint(SizingHint sizeHint)
SizingHint
. This affects the size and resources
allocated to the Kubernetes API server. This property was added in vSphere API
7.0.1.0.
This property is optional because it was added in a newer version than its
parent node.sizeHint
- New value for the property.public ClustersTypes.Info.Builder setTlsManagementEndpointCertificate(java.lang.String tlsManagementEndpointCertificate)
tlsManagementEndpointCertificate
- New value for the property.public ClustersTypes.Info.Builder setTlsEndpointCertificate(java.lang.String tlsEndpointCertificate)
tlsEndpointCertificate
- New value for the property.public ClustersTypes.Info.Builder setNcpClusterNetworkInfo(ClustersTypes.NCPClusterNetworkInfo ncpClusterNetworkInfo)
getNetworkProvider()
is ClustersTypes.NetworkProvider.NSXT_CONTAINER_PLUGIN
.ncpClusterNetworkInfo
- New value for the property.public ClustersTypes.Info.Builder setWorkloadNetworks(ClustersTypes.WorkloadNetworksInfo workloadNetworks)
getNetworkProvider()
is ClustersTypes.NetworkProvider.VSPHERE_NETWORK
.workloadNetworks
- New value for the property.public ClustersTypes.Info.Builder setWorkloadNtpServers(java.util.List<java.lang.String> workloadNtpServers)
workloadNtpServers
- New value for the property.public ClustersTypes.Info.Builder setLoadBalancers(java.util.List<LoadBalancersTypes.Info> loadBalancers)
getNetworkProvider()
is ClustersTypes.NetworkProvider.VSPHERE_NETWORK
.loadBalancers
- New value for the property.public ClustersTypes.Info.Builder setMasterManagementNetwork(ClustersTypes.NetworkSpec masterManagementNetwork)
masterManagementNetwork
- New value for the property.public ClustersTypes.Info.Builder setMasterDNS(java.util.List<java.lang.String> masterDNS)
masterDNS
- New value for the property.public ClustersTypes.Info.Builder setWorkerDNS(java.util.List<java.lang.String> workerDNS)
workerDNS
- New value for the property.public ClustersTypes.Info.Builder setMasterStoragePolicy(java.lang.String masterStoragePolicy)
masterStoragePolicy
- 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: SpsStorageProfile
. When methods return
a value of this class as a return value, the property will be an identifier for
the resource type: SpsStorageProfile
.public ClustersTypes.Info.Builder setEphemeralStoragePolicy(java.lang.String ephemeralStoragePolicy)
ephemeralStoragePolicy
- 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: SpsStorageProfile
. When methods return
a value of this class as a return value, the property will be an identifier for
the resource type: SpsStorageProfile
.public ClustersTypes.Info.Builder setLoginBanner(java.lang.String loginBanner)
null
, just skip it.loginBanner
- New value for the property.public ClustersTypes.Info.Builder setMasterDNSNames(java.util.List<java.lang.String> masterDNSNames)
null
, no additional DNS names are embedded in the TLS certificate.masterDNSNames
- New value for the property.public ClustersTypes.Info.Builder setImageStorage(ClustersTypes.ImageStorageSpec imageStorage)
imageStorage
- New value for the property.public ClustersTypes.Info.Builder setDefaultImageRegistry(ClustersTypes.ImageRegistry defaultImageRegistry)
null
, defaults to Docker Hub.defaultImageRegistry
- New value for the property.public ClustersTypes.Info.Builder setDefaultImageRepository(java.lang.String defaultImageRepository)
null
, defaults to Docker Hub official repository in case of Docker
Hub image registry, otherwise defaults to empty string.defaultImageRepository
- New value for the property.public ClustersTypes.Info.Builder setMasterDNSSearchDomains(java.util.List<java.lang.String> masterDNSSearchDomains)
masterDNSSearchDomains
- New value for the property.public ClustersTypes.Info.Builder setMasterNTPServers(java.util.List<java.lang.String> masterNTPServers)
null
, VMware Tools based time synchronization is enabled.masterNTPServers
- New value for the property.public ClustersTypes.Info.Builder setDefaultKubernetesServiceContentLibrary(java.lang.String defaultKubernetesServiceContentLibrary)
defaultKubernetesServiceContentLibrary
- 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: com.vmware.content.Library
. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.content.Library
.public ClustersTypes.Info build()