Class FieldSelectorRequirement

    • Constructor Detail

      • FieldSelectorRequirement

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

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

      • getKey

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

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

        public String getOperator()
        operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.
      • setOperator

        public void setOperator​(String operator)
        operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.
      • 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.
      • 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.
      • getAdditionalProperties

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

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

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