Class ClusterClaimSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.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 Summary
Constructors Constructor Description ClusterClaimSpec()No args constructor for use in serializationClusterClaimSpec(String clusterPoolName, String lifetime, String namespace, List<io.fabric8.kubernetes.api.model.rbac.Subject> subjects)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterClaimSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClusterPoolName()ClusterPoolName is the name of the cluster pool from which to claim a cluster.StringgetLifetime()ClusterClaimSpec defines the desired state of the ClusterClaim.StringgetNamespace()Namespace is the namespace containing the ClusterDeployment (name will match the namespace) of the claimed cluster.List<io.fabric8.kubernetes.api.model.rbac.Subject>getSubjects()Subjects hold references to which to authorize access to the claimed cluster.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClusterPoolName(String clusterPoolName)ClusterPoolName is the name of the cluster pool from which to claim a cluster.voidsetLifetime(String lifetime)ClusterClaimSpec defines the desired state of the ClusterClaim.voidsetNamespace(String namespace)Namespace is the namespace containing the ClusterDeployment (name will match the namespace) of the claimed cluster.voidsetSubjects(List<io.fabric8.kubernetes.api.model.rbac.Subject> subjects)Subjects hold references to which to authorize access to the claimed cluster.ClusterClaimSpecBuildertoBuilder()
-
-
-
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.
-
edit
public ClusterClaimSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterClaimSpecBuilder>
-
toBuilder
public ClusterClaimSpecBuilder toBuilder()
-
-