Class Platform
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.vsphere.v1.Platform
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Platform extends Object implements io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Platform stores any global configuration used for vSphere platforms.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Platform()No args constructor for use in serializationPlatform(io.fabric8.kubernetes.api.model.LocalObjectReference certificatesSecretRef, String cluster, io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecretRef, String datacenter, String defaultDatastore, String folder, String network, String vCenter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.LocalObjectReferencegetCertificatesSecretRef()Platform stores any global configuration used for vSphere platforms.StringgetCluster()Cluster is the name of the cluster virtual machines will be cloned into.io.fabric8.kubernetes.api.model.LocalObjectReferencegetCredentialsSecretRef()Platform stores any global configuration used for vSphere platforms.StringgetDatacenter()Datacenter is the name of the datacenter to use in the vCenter.StringgetDefaultDatastore()DefaultDatastore is the default datastore to use for provisioning volumes.StringgetFolder()Folder is the name of the folder that will be used and/or created for virtual machines.StringgetNetwork()Network specifies the name of the network to be used by the cluster.StringgetVCenter()VCenter is the domain name or IP address of the vCenter.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCertificatesSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference certificatesSecretRef)Platform stores any global configuration used for vSphere platforms.voidsetCluster(String cluster)Cluster is the name of the cluster virtual machines will be cloned into.voidsetCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecretRef)Platform stores any global configuration used for vSphere platforms.voidsetDatacenter(String datacenter)Datacenter is the name of the datacenter to use in the vCenter.voidsetDefaultDatastore(String defaultDatastore)DefaultDatastore is the default datastore to use for provisioning volumes.voidsetFolder(String folder)Folder is the name of the folder that will be used and/or created for virtual machines.voidsetNetwork(String network)Network specifies the name of the network to be used by the cluster.voidsetVCenter(String vCenter)VCenter is the domain name or IP address of the vCenter.PlatformBuildertoBuilder()
-
-
-
Method Detail
-
getCertificatesSecretRef
public io.fabric8.kubernetes.api.model.LocalObjectReference getCertificatesSecretRef()
Platform stores any global configuration used for vSphere platforms.
-
setCertificatesSecretRef
public void setCertificatesSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference certificatesSecretRef)
Platform stores any global configuration used for vSphere platforms.
-
getCluster
public String getCluster()
Cluster is the name of the cluster virtual machines will be cloned into.
-
setCluster
public void setCluster(String cluster)
Cluster is the name of the cluster virtual machines will be cloned into.
-
getCredentialsSecretRef
public io.fabric8.kubernetes.api.model.LocalObjectReference getCredentialsSecretRef()
Platform stores any global configuration used for vSphere platforms.
-
setCredentialsSecretRef
public void setCredentialsSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference credentialsSecretRef)
Platform stores any global configuration used for vSphere platforms.
-
getDatacenter
public String getDatacenter()
Datacenter is the name of the datacenter to use in the vCenter.
-
setDatacenter
public void setDatacenter(String datacenter)
Datacenter is the name of the datacenter to use in the vCenter.
-
getDefaultDatastore
public String getDefaultDatastore()
DefaultDatastore is the default datastore to use for provisioning volumes.
-
setDefaultDatastore
public void setDefaultDatastore(String defaultDatastore)
DefaultDatastore is the default datastore to use for provisioning volumes.
-
getFolder
public String getFolder()
Folder is the name of the folder that will be used and/or created for virtual machines.
-
setFolder
public void setFolder(String folder)
Folder is the name of the folder that will be used and/or created for virtual machines.
-
getNetwork
public String getNetwork()
Network specifies the name of the network to be used by the cluster.
-
setNetwork
public void setNetwork(String network)
Network specifies the name of the network to be used by the cluster.
-
getVCenter
public String getVCenter()
VCenter is the domain name or IP address of the vCenter.
-
setVCenter
public void setVCenter(String vCenter)
VCenter is the domain name or IP address of the vCenter.
-
edit
public PlatformBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>
-
toBuilder
public PlatformBuilder toBuilder()
-
-