Class 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 Detail

      • NamespaceSelector

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

        public NamespaceSelector​(Boolean any,
                                 List<String> matchNames)
    • 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.
      • getMatchNames

        public List<String> getMatchNames()
        List of namespace names to select from.
      • setMatchNames

        public void setMatchNames​(List<String> matchNames)
        List of namespace names to select from.
      • getAdditionalProperties

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

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

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