Class PlatformSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.PlatformSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PlatformSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PlatformSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<PlatformSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PlatformSpec()No args constructor for use in serializationPlatformSpec(AlibabaCloudPlatformSpec alibabaCloud, AWSPlatformSpec aws, AzurePlatformSpec azure, BareMetalPlatformSpec baremetal, EquinixMetalPlatformSpec equinixMetal, ExternalPlatformSpec external, GCPPlatformSpec gcp, IBMCloudPlatformSpec ibmcloud, KubevirtPlatformSpec kubevirt, NutanixPlatformSpec nutanix, OpenStackPlatformSpec openstack, OvirtPlatformSpec ovirt, PowerVSPlatformSpec powervs, String type, VSpherePlatformSpec vsphere)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformSpecBuilderedit()Map<String,Object>getAdditionalProperties()AlibabaCloudPlatformSpecgetAlibabaCloud()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.AWSPlatformSpecgetAws()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.AzurePlatformSpecgetAzure()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.BareMetalPlatformSpecgetBaremetal()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.EquinixMetalPlatformSpecgetEquinixMetal()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.ExternalPlatformSpecgetExternal()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.GCPPlatformSpecgetGcp()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.IBMCloudPlatformSpecgetIbmcloud()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.KubevirtPlatformSpecgetKubevirt()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.NutanixPlatformSpecgetNutanix()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.OpenStackPlatformSpecgetOpenstack()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.OvirtPlatformSpecgetOvirt()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.PowerVSPlatformSpecgetPowervs()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.StringgetType()type is the underlying infrastructure provider for the cluster.VSpherePlatformSpecgetVsphere()PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAlibabaCloud(AlibabaCloudPlatformSpec alibabaCloud)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetAws(AWSPlatformSpec aws)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetAzure(AzurePlatformSpec azure)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetBaremetal(BareMetalPlatformSpec baremetal)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetEquinixMetal(EquinixMetalPlatformSpec equinixMetal)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetExternal(ExternalPlatformSpec external)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetGcp(GCPPlatformSpec gcp)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetIbmcloud(IBMCloudPlatformSpec ibmcloud)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetKubevirt(KubevirtPlatformSpec kubevirt)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetNutanix(NutanixPlatformSpec nutanix)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetOpenstack(OpenStackPlatformSpec openstack)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetOvirt(OvirtPlatformSpec ovirt)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetPowervs(PowerVSPlatformSpec powervs)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.voidsetType(String type)type is the underlying infrastructure provider for the cluster.voidsetVsphere(VSpherePlatformSpec vsphere)PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster.PlatformSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
PlatformSpec
public PlatformSpec()
No args constructor for use in serialization
-
PlatformSpec
public PlatformSpec(AlibabaCloudPlatformSpec alibabaCloud, AWSPlatformSpec aws, AzurePlatformSpec azure, BareMetalPlatformSpec baremetal, EquinixMetalPlatformSpec equinixMetal, ExternalPlatformSpec external, GCPPlatformSpec gcp, IBMCloudPlatformSpec ibmcloud, KubevirtPlatformSpec kubevirt, NutanixPlatformSpec nutanix, OpenStackPlatformSpec openstack, OvirtPlatformSpec ovirt, PowerVSPlatformSpec powervs, String type, VSpherePlatformSpec vsphere)
-
-
Method Detail
-
getAlibabaCloud
public AlibabaCloudPlatformSpec getAlibabaCloud()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setAlibabaCloud
public void setAlibabaCloud(AlibabaCloudPlatformSpec alibabaCloud)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getAws
public AWSPlatformSpec getAws()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setAws
public void setAws(AWSPlatformSpec aws)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getAzure
public AzurePlatformSpec getAzure()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setAzure
public void setAzure(AzurePlatformSpec azure)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getBaremetal
public BareMetalPlatformSpec getBaremetal()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setBaremetal
public void setBaremetal(BareMetalPlatformSpec baremetal)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getEquinixMetal
public EquinixMetalPlatformSpec getEquinixMetal()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setEquinixMetal
public void setEquinixMetal(EquinixMetalPlatformSpec equinixMetal)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getExternal
public ExternalPlatformSpec getExternal()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setExternal
public void setExternal(ExternalPlatformSpec external)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getGcp
public GCPPlatformSpec getGcp()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setGcp
public void setGcp(GCPPlatformSpec gcp)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getIbmcloud
public IBMCloudPlatformSpec getIbmcloud()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setIbmcloud
public void setIbmcloud(IBMCloudPlatformSpec ibmcloud)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getKubevirt
public KubevirtPlatformSpec getKubevirt()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setKubevirt
public void setKubevirt(KubevirtPlatformSpec kubevirt)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getNutanix
public NutanixPlatformSpec getNutanix()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setNutanix
public void setNutanix(NutanixPlatformSpec nutanix)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getOpenstack
public OpenStackPlatformSpec getOpenstack()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setOpenstack
public void setOpenstack(OpenStackPlatformSpec openstack)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getOvirt
public OvirtPlatformSpec getOvirt()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setOvirt
public void setOvirt(OvirtPlatformSpec ovirt)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getPowervs
public PowerVSPlatformSpec getPowervs()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setPowervs
public void setPowervs(PowerVSPlatformSpec powervs)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
getType
public String getType()
type is the underlying infrastructure provider for the cluster. This value controls whether infrastructure automation such as service load balancers, dynamic volume provisioning, machine creation and deletion, and other integrations are enabled. If None, no infrastructure automation is enabled. Allowed values are "AWS", "Azure", "BareMetal", "GCP", "Libvirt", "OpenStack", "VSphere", "oVirt", "KubeVirt", "EquinixMetal", "PowerVS", "AlibabaCloud", "Nutanix" and "None". Individual components may not support all platforms, and must handle unrecognized platforms as None if they do not support that platform.
-
setType
public void setType(String type)
type is the underlying infrastructure provider for the cluster. This value controls whether infrastructure automation such as service load balancers, dynamic volume provisioning, machine creation and deletion, and other integrations are enabled. If None, no infrastructure automation is enabled. Allowed values are "AWS", "Azure", "BareMetal", "GCP", "Libvirt", "OpenStack", "VSphere", "oVirt", "KubeVirt", "EquinixMetal", "PowerVS", "AlibabaCloud", "Nutanix" and "None". Individual components may not support all platforms, and must handle unrecognized platforms as None if they do not support that platform.
-
getVsphere
public VSpherePlatformSpec getVsphere()
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
setVsphere
public void setVsphere(VSpherePlatformSpec vsphere)
PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.
-
edit
public PlatformSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PlatformSpecBuilder>
-
toBuilder
public PlatformSpecBuilder toBuilder()
-
-