Package net.stickycode.kuuty.model.v18
Class IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement extends Object
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_KEYstatic StringJSON_PROPERTY_OPERATORstatic StringJSON_PROPERTY_VALUES
-
Constructor Summary
Constructors Constructor Description IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirementaddValuesItem(String valuesItem)booleanequals(Object o)StringgetKey()key is the label key that the selector applies to.StringgetOperator()operator represents a key's relationship to a set of values.List<String>getValues()values is an array of string values.inthashCode()IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirementkey(String key)IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirementoperator(String operator)voidsetKey(String key)voidsetOperator(String operator)voidsetValues(List<String> values)StringtoString()IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirementvalues(List<String> values)
-
-
-
Field Detail
-
JSON_PROPERTY_KEY
public static final String JSON_PROPERTY_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OPERATOR
public static final String JSON_PROPERTY_OPERATOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUES
public static final String JSON_PROPERTY_VALUES
- See Also:
- Constant Field Values
-
-
Method Detail
-
key
public IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement key(String key)
-
getKey
public String getKey()
key is the label key that the selector applies to.- Returns:
- key
-
setKey
public void setKey(String key)
-
operator
public IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement operator(String operator)
-
getOperator
public String getOperator()
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.- Returns:
- operator
-
setOperator
public void setOperator(String operator)
-
values
public IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement values(List<String> values)
-
addValuesItem
public IoK8sApimachineryPkgApisMetaV1LabelSelectorRequirement addValuesItem(String valuesItem)
-
getValues
@Nullable 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.- Returns:
- values
-
-