Class ClusterDeploymentSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.ClusterDeploymentSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ClusterDeploymentSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterDeploymentSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<ClusterDeploymentSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ClusterDeploymentSpec defines the desired state of ClusterDeployment- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterDeploymentSpec()No args constructor for use in serializationClusterDeploymentSpec(String baseDomain, io.fabric8.kubernetes.api.model.LocalObjectReference boundServiceAccountSigningKeySecretRef, List<CertificateBundleSpec> certificateBundles, ClusterInstallLocalReference clusterInstallRef, ClusterMetadata clusterMetadata, String clusterName, ClusterPoolReference clusterPoolRef, ControlPlaneConfigSpec controlPlaneConfig, String hibernateAfter, List<ClusterIngress> ingress, Integer installAttemptsLimit, Boolean installed, Boolean manageDNS, Platform platform, String powerState, Boolean preserveOnDelete, Provisioning provisioning, io.fabric8.kubernetes.api.model.LocalObjectReference pullSecretRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterDeploymentSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetBaseDomain()BaseDomain is the base domain to which the cluster should belong.io.fabric8.kubernetes.api.model.LocalObjectReferencegetBoundServiceAccountSigningKeySecretRef()ClusterDeploymentSpec defines the desired state of ClusterDeploymentList<CertificateBundleSpec>getCertificateBundles()CertificateBundles is a list of certificate bundles associated with this clusterClusterInstallLocalReferencegetClusterInstallRef()ClusterDeploymentSpec defines the desired state of ClusterDeploymentClusterMetadatagetClusterMetadata()ClusterDeploymentSpec defines the desired state of ClusterDeploymentStringgetClusterName()ClusterName is the friendly name of the cluster.ClusterPoolReferencegetClusterPoolRef()ClusterDeploymentSpec defines the desired state of ClusterDeploymentControlPlaneConfigSpecgetControlPlaneConfig()ClusterDeploymentSpec defines the desired state of ClusterDeploymentStringgetHibernateAfter()ClusterDeploymentSpec defines the desired state of ClusterDeploymentList<ClusterIngress>getIngress()Ingress allows defining desired clusteringress/shards to be configured on the cluster.IntegergetInstallAttemptsLimit()InstallAttemptsLimit is the maximum number of times Hive will attempt to install the cluster.BooleangetInstalled()Installed is true if the cluster has been installedBooleangetManageDNS()ManageDNS specifies whether a DNSZone should be created and managed automatically for this ClusterDeploymentPlatformgetPlatform()ClusterDeploymentSpec defines the desired state of ClusterDeploymentStringgetPowerState()PowerState indicates whether a cluster should be running or hibernating.BooleangetPreserveOnDelete()PreserveOnDelete allows the user to disconnect a cluster from Hive without deprovisioning it.ProvisioninggetProvisioning()ClusterDeploymentSpec defines the desired state of ClusterDeploymentio.fabric8.kubernetes.api.model.LocalObjectReferencegetPullSecretRef()ClusterDeploymentSpec defines the desired state of ClusterDeploymentvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBaseDomain(String baseDomain)BaseDomain is the base domain to which the cluster should belong.voidsetBoundServiceAccountSigningKeySecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference boundServiceAccountSigningKeySecretRef)ClusterDeploymentSpec defines the desired state of ClusterDeploymentvoidsetCertificateBundles(List<CertificateBundleSpec> certificateBundles)CertificateBundles is a list of certificate bundles associated with this clustervoidsetClusterInstallRef(ClusterInstallLocalReference clusterInstallRef)ClusterDeploymentSpec defines the desired state of ClusterDeploymentvoidsetClusterMetadata(ClusterMetadata clusterMetadata)ClusterDeploymentSpec defines the desired state of ClusterDeploymentvoidsetClusterName(String clusterName)ClusterName is the friendly name of the cluster.voidsetClusterPoolRef(ClusterPoolReference clusterPoolRef)ClusterDeploymentSpec defines the desired state of ClusterDeploymentvoidsetControlPlaneConfig(ControlPlaneConfigSpec controlPlaneConfig)ClusterDeploymentSpec defines the desired state of ClusterDeploymentvoidsetHibernateAfter(String hibernateAfter)ClusterDeploymentSpec defines the desired state of ClusterDeploymentvoidsetIngress(List<ClusterIngress> ingress)Ingress allows defining desired clusteringress/shards to be configured on the cluster.voidsetInstallAttemptsLimit(Integer installAttemptsLimit)InstallAttemptsLimit is the maximum number of times Hive will attempt to install the cluster.voidsetInstalled(Boolean installed)Installed is true if the cluster has been installedvoidsetManageDNS(Boolean manageDNS)ManageDNS specifies whether a DNSZone should be created and managed automatically for this ClusterDeploymentvoidsetPlatform(Platform platform)ClusterDeploymentSpec defines the desired state of ClusterDeploymentvoidsetPowerState(String powerState)PowerState indicates whether a cluster should be running or hibernating.voidsetPreserveOnDelete(Boolean preserveOnDelete)PreserveOnDelete allows the user to disconnect a cluster from Hive without deprovisioning it.voidsetProvisioning(Provisioning provisioning)ClusterDeploymentSpec defines the desired state of ClusterDeploymentvoidsetPullSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference pullSecretRef)ClusterDeploymentSpec defines the desired state of ClusterDeploymentClusterDeploymentSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
ClusterDeploymentSpec
public ClusterDeploymentSpec()
No args constructor for use in serialization
-
ClusterDeploymentSpec
public ClusterDeploymentSpec(String baseDomain, io.fabric8.kubernetes.api.model.LocalObjectReference boundServiceAccountSigningKeySecretRef, List<CertificateBundleSpec> certificateBundles, ClusterInstallLocalReference clusterInstallRef, ClusterMetadata clusterMetadata, String clusterName, ClusterPoolReference clusterPoolRef, ControlPlaneConfigSpec controlPlaneConfig, String hibernateAfter, List<ClusterIngress> ingress, Integer installAttemptsLimit, Boolean installed, Boolean manageDNS, Platform platform, String powerState, Boolean preserveOnDelete, Provisioning provisioning, io.fabric8.kubernetes.api.model.LocalObjectReference pullSecretRef)
-
-
Method Detail
-
getBaseDomain
public String getBaseDomain()
BaseDomain is the base domain to which the cluster should belong.
-
setBaseDomain
public void setBaseDomain(String baseDomain)
BaseDomain is the base domain to which the cluster should belong.
-
getBoundServiceAccountSigningKeySecretRef
public io.fabric8.kubernetes.api.model.LocalObjectReference getBoundServiceAccountSigningKeySecretRef()
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
setBoundServiceAccountSigningKeySecretRef
public void setBoundServiceAccountSigningKeySecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference boundServiceAccountSigningKeySecretRef)
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
getCertificateBundles
public List<CertificateBundleSpec> getCertificateBundles()
CertificateBundles is a list of certificate bundles associated with this cluster
-
setCertificateBundles
public void setCertificateBundles(List<CertificateBundleSpec> certificateBundles)
CertificateBundles is a list of certificate bundles associated with this cluster
-
getClusterInstallRef
public ClusterInstallLocalReference getClusterInstallRef()
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
setClusterInstallRef
public void setClusterInstallRef(ClusterInstallLocalReference clusterInstallRef)
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
getClusterMetadata
public ClusterMetadata getClusterMetadata()
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
setClusterMetadata
public void setClusterMetadata(ClusterMetadata clusterMetadata)
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
getClusterName
public String getClusterName()
ClusterName is the friendly name of the cluster. It is used for subdomains, some resource tagging, and other instances where a friendly name for the cluster is useful.
-
setClusterName
public void setClusterName(String clusterName)
ClusterName is the friendly name of the cluster. It is used for subdomains, some resource tagging, and other instances where a friendly name for the cluster is useful.
-
getClusterPoolRef
public ClusterPoolReference getClusterPoolRef()
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
setClusterPoolRef
public void setClusterPoolRef(ClusterPoolReference clusterPoolRef)
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
getControlPlaneConfig
public ControlPlaneConfigSpec getControlPlaneConfig()
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
setControlPlaneConfig
public void setControlPlaneConfig(ControlPlaneConfigSpec controlPlaneConfig)
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
getHibernateAfter
public String getHibernateAfter()
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
setHibernateAfter
public void setHibernateAfter(String hibernateAfter)
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
getIngress
public List<ClusterIngress> getIngress()
Ingress allows defining desired clusteringress/shards to be configured on the cluster.
-
setIngress
public void setIngress(List<ClusterIngress> ingress)
Ingress allows defining desired clusteringress/shards to be configured on the cluster.
-
getInstallAttemptsLimit
public Integer getInstallAttemptsLimit()
InstallAttemptsLimit is the maximum number of times Hive will attempt to install the cluster.
-
setInstallAttemptsLimit
public void setInstallAttemptsLimit(Integer installAttemptsLimit)
InstallAttemptsLimit is the maximum number of times Hive will attempt to install the cluster.
-
getInstalled
public Boolean getInstalled()
Installed is true if the cluster has been installed
-
setInstalled
public void setInstalled(Boolean installed)
Installed is true if the cluster has been installed
-
getManageDNS
public Boolean getManageDNS()
ManageDNS specifies whether a DNSZone should be created and managed automatically for this ClusterDeployment
-
setManageDNS
public void setManageDNS(Boolean manageDNS)
ManageDNS specifies whether a DNSZone should be created and managed automatically for this ClusterDeployment
-
getPlatform
public Platform getPlatform()
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
setPlatform
public void setPlatform(Platform platform)
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
getPowerState
public String getPowerState()
PowerState indicates whether a cluster should be running or hibernating. When omitted, PowerState defaults to the Running state.
-
setPowerState
public void setPowerState(String powerState)
PowerState indicates whether a cluster should be running or hibernating. When omitted, PowerState defaults to the Running state.
-
getPreserveOnDelete
public Boolean getPreserveOnDelete()
PreserveOnDelete allows the user to disconnect a cluster from Hive without deprovisioning it. This can also be used to abandon ongoing cluster deprovision.
-
setPreserveOnDelete
public void setPreserveOnDelete(Boolean preserveOnDelete)
PreserveOnDelete allows the user to disconnect a cluster from Hive without deprovisioning it. This can also be used to abandon ongoing cluster deprovision.
-
getProvisioning
public Provisioning getProvisioning()
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
setProvisioning
public void setProvisioning(Provisioning provisioning)
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
getPullSecretRef
public io.fabric8.kubernetes.api.model.LocalObjectReference getPullSecretRef()
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
setPullSecretRef
public void setPullSecretRef(io.fabric8.kubernetes.api.model.LocalObjectReference pullSecretRef)
ClusterDeploymentSpec defines the desired state of ClusterDeployment
-
edit
public ClusterDeploymentSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterDeploymentSpecBuilder>
-
toBuilder
public ClusterDeploymentSpecBuilder toBuilder()
-
-