Class LabelSelectorRequirement

    • Constructor Detail

      • LabelSelectorRequirement

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

        public LabelSelectorRequirement​(String key,
                                        String operator,
                                        List<String> values)
    • Method Detail

      • getKey

        public String getKey()
        key is the label key that the selector applies to.
      • setKey

        public void setKey​(String key)
        key is the label key that the selector applies to.
      • getOperator

        public String getOperator()
        operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
      • setOperator

        public void setOperator​(String operator)
        operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
      • getValues

        public List<String> getValues()
        values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
      • setValues

        public void setValues​(List<String> values)
        values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
      • getAdditionalProperties

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

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

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