Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1TopologySelectorLabelRequirement
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1TopologySelectorLabelRequirement
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1TopologySelectorLabelRequirement extends Object
A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_KEYstatic StringJSON_PROPERTY_VALUES
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1TopologySelectorLabelRequirement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1TopologySelectorLabelRequirementaddValuesItem(String valuesItem)booleanequals(Object o)StringgetKey()The label key that the selector applies to.List<String>getValues()An array of string values.inthashCode()IoK8sApiCoreV1TopologySelectorLabelRequirementkey(String key)voidsetKey(String key)voidsetValues(List<String> values)StringtoString()IoK8sApiCoreV1TopologySelectorLabelRequirementvalues(List<String> values)
-
-
-
Field Detail
-
JSON_PROPERTY_KEY
public static final String JSON_PROPERTY_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUES
public static final String JSON_PROPERTY_VALUES
- See Also:
- Constant Field Values
-
-
Method Detail
-
key
public IoK8sApiCoreV1TopologySelectorLabelRequirement key(String key)
-
getKey
public String getKey()
The label key that the selector applies to.- Returns:
- key
-
setKey
public void setKey(String key)
-
values
public IoK8sApiCoreV1TopologySelectorLabelRequirement values(List<String> values)
-
addValuesItem
public IoK8sApiCoreV1TopologySelectorLabelRequirement addValuesItem(String valuesItem)
-
getValues
public List<String> getValues()
An array of string values. One value must match the label to be selected. Each entry in Values is ORed.- Returns:
- values
-
-