Class ClusterClaimSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ClusterClaimSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ClusterClaimSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ClusterClaimSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ClusterClaimSpec defines the desired state of the ClusterClaim.
    See Also:
    Serialized Form
    • Constructor Detail

      • ClusterClaimSpec

        public ClusterClaimSpec()
        No args constructor for use in serialization
      • ClusterClaimSpec

        public ClusterClaimSpec​(String clusterPoolName,
                                String lifetime,
                                String namespace,
                                List<io.fabric8.kubernetes.api.model.rbac.Subject> subjects)
    • Method Detail

      • getClusterPoolName

        public String getClusterPoolName()
        ClusterPoolName is the name of the cluster pool from which to claim a cluster.
      • setClusterPoolName

        public void setClusterPoolName​(String clusterPoolName)
        ClusterPoolName is the name of the cluster pool from which to claim a cluster.
      • getLifetime

        public String getLifetime()
        ClusterClaimSpec defines the desired state of the ClusterClaim.
      • setLifetime

        public void setLifetime​(String lifetime)
        ClusterClaimSpec defines the desired state of the ClusterClaim.
      • getNamespace

        public String getNamespace()
        Namespace is the namespace containing the ClusterDeployment (name will match the namespace) of the claimed cluster. This field will be set as soon as a suitable cluster can be found, however that cluster may still be resuming and not yet ready for use. Wait for the ClusterRunning condition to be true to avoid this issue.
      • setNamespace

        public void setNamespace​(String namespace)
        Namespace is the namespace containing the ClusterDeployment (name will match the namespace) of the claimed cluster. This field will be set as soon as a suitable cluster can be found, however that cluster may still be resuming and not yet ready for use. Wait for the ClusterRunning condition to be true to avoid this issue.
      • getSubjects

        public List<io.fabric8.kubernetes.api.model.rbac.Subject> getSubjects()
        Subjects hold references to which to authorize access to the claimed cluster.
      • setSubjects

        public void setSubjects​(List<io.fabric8.kubernetes.api.model.rbac.Subject> subjects)
        Subjects hold references to which to authorize access to the claimed cluster.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)