public static final class ClustersTypes.UpdateSpec.Builder
extends java.lang.Object
ClustersTypes.UpdateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ClustersTypes.UpdateSpec . |
Modifier and Type | Method and Description |
---|---|
ClustersTypes.UpdateSpec |
build() |
ClustersTypes.UpdateSpec.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.UpdateSpec.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.UpdateSpec.Builder |
setDefaultKubernetesServiceContentLibrary(java.lang.String defaultKubernetesServiceContentLibrary)
Identifier of the Content Library which holds the VM Images for vSphere
Kubernetes Service.
|
ClustersTypes.UpdateSpec.Builder |
setEphemeralStoragePolicy(java.lang.String ephemeralStoragePolicy)
Identifier of storage policy associated with ephemeral disks of all the
Kubernetes Pods in the cluster.
|
ClustersTypes.UpdateSpec.Builder |
setImageStorage(ClustersTypes.ImageStorageSpec imageStorage)
Specification for storage to be used for container images.
|
ClustersTypes.UpdateSpec.Builder |
setLoginBanner(java.lang.String loginBanner)
Disclaimer to be displayed prior to login via the Kubectl plugin.
|
ClustersTypes.UpdateSpec.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.UpdateSpec.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.UpdateSpec.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.UpdateSpec.Builder |
setMasterStoragePolicy(java.lang.String masterStoragePolicy)
Identifier of storage policy associated with Kubernetes API server.
|
ClustersTypes.UpdateSpec.Builder |
setNcpClusterNetworkSpec(ClustersTypes.NCPClusterNetworkUpdateSpec ncpClusterNetworkSpec)
Updated specification for the cluster network configuration.
|
ClustersTypes.UpdateSpec.Builder |
setNetworkProvider(ClustersTypes.NetworkProvider networkProvider)
The provider of cluster networking for this vSphere Namespaces cluster.
|
ClustersTypes.UpdateSpec.Builder |
setSizeHint(SizingHint sizeHint)
This affects the size and resources allocated to the Kubernetes API server.
|
ClustersTypes.UpdateSpec.Builder |
setTlsEndpointCertificate(java.lang.String tlsEndpointCertificate)
Certificate issued for Kubernetes API Server.
|
ClustersTypes.UpdateSpec.Builder |
setWorkerDNS(java.util.List<java.lang.String> workerDNS)
List of DNS server IP addresses to use on the worker nodes, specified in order
of preference.
|
ClustersTypes.UpdateSpec.Builder |
setWorkloadNtpServers(java.util.List<java.lang.String> workloadNtpServers)
List of 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.UpdateSpec
.public ClustersTypes.UpdateSpec.Builder setSizeHint(SizingHint sizeHint)
null
, size and resources allocated to Kubernetes API server will not
be modified.sizeHint
- New value for the property.public ClustersTypes.UpdateSpec.Builder setNetworkProvider(ClustersTypes.NetworkProvider networkProvider)
null
, the existing effective cluster network specification will not
be modified.networkProvider
- New value for the property.public ClustersTypes.UpdateSpec.Builder setNcpClusterNetworkSpec(ClustersTypes.NCPClusterNetworkUpdateSpec ncpClusterNetworkSpec)
null
, the
existing effective cluster network specification will not be modified.ncpClusterNetworkSpec
- New value for the property.public ClustersTypes.UpdateSpec.Builder setMasterDNS(java.util.List<java.lang.String> masterDNS)
Set
, DNS servers set on Kubernetes API server will be
replaced. Otherwise, they will not be modified.masterDNS
- New value for the property.public ClustersTypes.UpdateSpec.Builder setWorkerDNS(java.util.List<java.lang.String> workerDNS)
Set
, DNS servers set on worker nodes will be replaced.
Otherwise, they will not be modified.workerDNS
- New value for the property.public ClustersTypes.UpdateSpec.Builder setMasterDNSSearchDomains(java.util.List<java.lang.String> masterDNSSearchDomains)
Set
, DNS search domains on Kubernetes API server will be
replaced. Otherwise, they will not be modified.masterDNSSearchDomains
- New value for the property.public ClustersTypes.UpdateSpec.Builder setMasterNTPServers(java.util.List<java.lang.String> masterNTPServers)
Set
, NTP servers on Kubernetes API server will be replaced.
Otherwise, they will not be modified.masterNTPServers
- New value for the property.public ClustersTypes.UpdateSpec.Builder setMasterStoragePolicy(java.lang.String masterStoragePolicy)
null
, storage policy associated with Kubernetes API server will not
be modified.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.UpdateSpec.Builder setEphemeralStoragePolicy(java.lang.String ephemeralStoragePolicy)
null
, storage policy associated with ephemeral disks of all the
Kubernetes Pods will not be modified.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.UpdateSpec.Builder setLoginBanner(java.lang.String loginBanner)
null
, disclaimer to be displayed prior to login via the Kubectl
plugin will not be modified.loginBanner
- New value for the property.public ClustersTypes.UpdateSpec.Builder setImageStorage(ClustersTypes.ImageStorageSpec imageStorage)
null
, configuration of storage used for container images is not
modified.imageStorage
- New value for the property.public ClustersTypes.UpdateSpec.Builder setDefaultImageRegistry(ClustersTypes.ImageRegistry defaultImageRegistry)
null
, default image registry will not be modified.defaultImageRegistry
- New value for the property.public ClustersTypes.UpdateSpec.Builder setDefaultImageRepository(java.lang.String defaultImageRepository)
null
, default image repository will not be modified.defaultImageRepository
- New value for the property.public ClustersTypes.UpdateSpec.Builder setTlsEndpointCertificate(java.lang.String tlsEndpointCertificate)
com.vmware.vcenter.namespace_management.certificates.Request.create
Because a
CertificateSigningRequest
is created on an existing Namespaces-enabled
Cluster
, you must use the UpdateSpec
to specify this tlsEndpointCertificate
on an existing Cluster
rather than during
initially enabling Namespaces on a Cluster
.
If null
, Kubernetes API Server certificate will not be modified.tlsEndpointCertificate
- New value for the property.public ClustersTypes.UpdateSpec.Builder setDefaultKubernetesServiceContentLibrary(java.lang.String defaultKubernetesServiceContentLibrary)
null
, the Content Library identifier will not be modified.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.UpdateSpec.Builder setWorkloadNtpServers(java.util.List<java.lang.String> workloadNtpServers)
null
, NTP servers for workloads will be unmodified.workloadNtpServers
- New value for the property.public ClustersTypes.UpdateSpec build()