Class HostClaimNamespaces
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.HostClaimNamespaces
-
- All Implemented Interfaces:
Editable<HostClaimNamespacesBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HostClaimNamespaces extends Object implements Editable<HostClaimNamespacesBuilder>, KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HostClaimNamespaces()No args constructor for use in serializationHostClaimNamespaces(List<NameValuePair> hasLabels, String nameMatches, List<String> names)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostClaimNamespacesBuilderedit()Map<String,Object>getAdditionalProperties()List<NameValuePair>getHasLabels()HasLabels is a list of label names and their associated value.StringgetNameMatches()NameMatches is a string interpreted as a regular expression that must be matched by the namespace of the HostClaim.List<String>getNames()Namespaces is a list of namespace names where the hostClaim is authorized to reside in.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHasLabels(List<NameValuePair> hasLabels)HasLabels is a list of label names and their associated value.voidsetNameMatches(String nameMatches)NameMatches is a string interpreted as a regular expression that must be matched by the namespace of the HostClaim.voidsetNames(List<String> names)Namespaces is a list of namespace names where the hostClaim is authorized to reside in.HostClaimNamespacesBuildertoBuilder()
-
-
-
Constructor Detail
-
HostClaimNamespaces
public HostClaimNamespaces()
No args constructor for use in serialization
-
HostClaimNamespaces
public HostClaimNamespaces(List<NameValuePair> hasLabels, String nameMatches, List<String> names)
-
-
Method Detail
-
getHasLabels
public List<NameValuePair> getHasLabels()
HasLabels is a list of label names and their associated value. The namespace should have all of those labels. If the value is specified, it must also match.
-
setHasLabels
public void setHasLabels(List<NameValuePair> hasLabels)
HasLabels is a list of label names and their associated value. The namespace should have all of those labels. If the value is specified, it must also match.
-
getNameMatches
public String getNameMatches()
NameMatches is a string interpreted as a regular expression that must be matched by the namespace of the HostClaim.
-
setNameMatches
public void setNameMatches(String nameMatches)
NameMatches is a string interpreted as a regular expression that must be matched by the namespace of the HostClaim.
-
getNames
public List<String> getNames()
Namespaces is a list of namespace names where the hostClaim is authorized to reside in.
-
setNames
public void setNames(List<String> names)
Namespaces is a list of namespace names where the hostClaim is authorized to reside in.
-
edit
public HostClaimNamespacesBuilder edit()
- Specified by:
editin interfaceEditable<HostClaimNamespacesBuilder>
-
toBuilder
public HostClaimNamespacesBuilder toBuilder()
-
-