Class NamespaceSelector
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.NamespaceSelector
-
- All Implemented Interfaces:
Editable<NamespaceSelectorBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NamespaceSelector extends Object implements Editable<NamespaceSelectorBuilder>, KubernetesResource
NamespaceSelector is a selector for selecting either all namespaces or a list of namespaces. If `any` is true, it takes precedence over `matchNames`. If `matchNames` is empty and `any` is false, it means that the objects are selected from the current namespace.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamespaceSelector()No args constructor for use in serializationNamespaceSelector(Boolean any, List<String> matchNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamespaceSelectorBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetAny()any defines the boolean describing whether all namespaces are selected in contrast to a list restricting them.List<String>getMatchNames()matchNames defines the list of namespace names to select from.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAny(Boolean any)any defines the boolean describing whether all namespaces are selected in contrast to a list restricting them.voidsetMatchNames(List<String> matchNames)matchNames defines the list of namespace names to select from.NamespaceSelectorBuildertoBuilder()
-
-
-
Method Detail
-
getAny
public Boolean getAny()
any defines the boolean describing whether all namespaces are selected in contrast to a list restricting them.
-
setAny
public void setAny(Boolean any)
any defines the boolean describing whether all namespaces are selected in contrast to a list restricting them.
-
getMatchNames
public List<String> getMatchNames()
matchNames defines the list of namespace names to select from.
-
setMatchNames
public void setMatchNames(List<String> matchNames)
matchNames defines the list of namespace names to select from.
-
edit
public NamespaceSelectorBuilder edit()
- Specified by:
editin interfaceEditable<NamespaceSelectorBuilder>
-
toBuilder
public NamespaceSelectorBuilder toBuilder()
-
-