Class VSpherePlatformVCenterSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.VSpherePlatformVCenterSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VSpherePlatformVCenterSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class VSpherePlatformVCenterSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<VSpherePlatformVCenterSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
VSpherePlatformVCenterSpec stores the vCenter connection fields. This is used by the vSphere CCM.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VSpherePlatformVCenterSpec()No args constructor for use in serializationVSpherePlatformVCenterSpec(List<String> datacenters, Integer port, String server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VSpherePlatformVCenterSpecBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getDatacenters()The vCenter Datacenters in which the RHCOS vm guests are located.IntegergetPort()port is the TCP port that will be used to communicate to the vCenter endpoint.StringgetServer()server is the fully-qualified domain name or the IP address of the vCenter server.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDatacenters(List<String> datacenters)The vCenter Datacenters in which the RHCOS vm guests are located.voidsetPort(Integer port)port is the TCP port that will be used to communicate to the vCenter endpoint.voidsetServer(String server)server is the fully-qualified domain name or the IP address of the vCenter server.VSpherePlatformVCenterSpecBuildertoBuilder()
-
-
-
Method Detail
-
getDatacenters
public List<String> getDatacenters()
The vCenter Datacenters in which the RHCOS vm guests are located. This field will be used by the Cloud Controller Manager. Each datacenter listed here should be used within a topology.
-
setDatacenters
public void setDatacenters(List<String> datacenters)
The vCenter Datacenters in which the RHCOS vm guests are located. This field will be used by the Cloud Controller Manager. Each datacenter listed here should be used within a topology.
-
getPort
public Integer getPort()
port is the TCP port that will be used to communicate to the vCenter endpoint. When omitted, this means the user has no opinion and it is up to the platform to choose a sensible default, which is subject to change over time.
-
setPort
public void setPort(Integer port)
port is the TCP port that will be used to communicate to the vCenter endpoint. When omitted, this means the user has no opinion and it is up to the platform to choose a sensible default, which is subject to change over time.
-
getServer
public String getServer()
server is the fully-qualified domain name or the IP address of the vCenter server.
-
setServer
public void setServer(String server)
server is the fully-qualified domain name or the IP address of the vCenter server.
-
edit
public VSpherePlatformVCenterSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VSpherePlatformVCenterSpecBuilder>
-
toBuilder
public VSpherePlatformVCenterSpecBuilder toBuilder()
-
-