Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1ScopedResourceSelectorRequirement
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1ScopedResourceSelectorRequirement
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1ScopedResourceSelectorRequirement extends Object
A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_OPERATORstatic StringJSON_PROPERTY_SCOPE_NAMEstatic StringJSON_PROPERTY_VALUES
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1ScopedResourceSelectorRequirement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1ScopedResourceSelectorRequirementaddValuesItem(String valuesItem)booleanequals(Object o)StringgetOperator()Represents a scope's relationship to a set of values.StringgetScopeName()The name of the scope that the selector applies to.List<String>getValues()An array of string values.inthashCode()IoK8sApiCoreV1ScopedResourceSelectorRequirementoperator(String operator)IoK8sApiCoreV1ScopedResourceSelectorRequirementscopeName(String scopeName)voidsetOperator(String operator)voidsetScopeName(String scopeName)voidsetValues(List<String> values)StringtoString()IoK8sApiCoreV1ScopedResourceSelectorRequirementvalues(List<String> values)
-
-
-
Field Detail
-
JSON_PROPERTY_OPERATOR
public static final String JSON_PROPERTY_OPERATOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCOPE_NAME
public static final String JSON_PROPERTY_SCOPE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUES
public static final String JSON_PROPERTY_VALUES
- See Also:
- Constant Field Values
-
-
Method Detail
-
operator
public IoK8sApiCoreV1ScopedResourceSelectorRequirement operator(String operator)
-
getOperator
public String getOperator()
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.- Returns:
- operator
-
setOperator
public void setOperator(String operator)
-
scopeName
public IoK8sApiCoreV1ScopedResourceSelectorRequirement scopeName(String scopeName)
-
getScopeName
public String getScopeName()
The name of the scope that the selector applies to.- Returns:
- scopeName
-
setScopeName
public void setScopeName(String scopeName)
-
values
public IoK8sApiCoreV1ScopedResourceSelectorRequirement values(List<String> values)
-
addValuesItem
public IoK8sApiCoreV1ScopedResourceSelectorRequirement addValuesItem(String valuesItem)
-
getValues
@Nullable public List<String> getValues()
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
-
-