Class NamespaceSelector
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.NamespaceSelector
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NamespaceSelectorBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NamespaceSelector extends Object implements io.fabric8.kubernetes.api.builder.Editable<NamespaceSelectorBuilder>, io.fabric8.kubernetes.api.model.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()Boolean describing whether all namespaces are selected in contrast to a list restricting them.List<String>getMatchNames()List of namespace names to select from.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAny(Boolean any)Boolean describing whether all namespaces are selected in contrast to a list restricting them.voidsetMatchNames(List<String> matchNames)List of namespace names to select from.NamespaceSelectorBuildertoBuilder()
-
-
-
Method Detail
-
getAny
public Boolean getAny()
Boolean describing whether all namespaces are selected in contrast to a list restricting them.
-
setAny
public void setAny(Boolean any)
Boolean describing whether all namespaces are selected in contrast to a list restricting them.
-
setMatchNames
public void setMatchNames(List<String> matchNames)
List of namespace names to select from.
-
edit
public NamespaceSelectorBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NamespaceSelectorBuilder>
-
toBuilder
public NamespaceSelectorBuilder toBuilder()
-
-