Class V1ScopedResourceSelectorRequirement
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ScopedResourceSelectorRequirement
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ScopedResourceSelectorRequirement
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddvaluesItem
(String valuesItem) Add an item to the values property in a chainable fashion.boolean
Represents a scope's relationship to a set of values.The name of the scope that the selector applies to.An array of string values.int
hashCode()
Set operator in a chainable fashion.Set scopeName in a chainable fashion.void
setOperator
(String operator) Set the operator property valuevoid
setScopeName
(String scopeName) Set the scopeName property valuevoid
Set the values property valuetoString()
Set values in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_OPERATOR
- See Also:
-
JSON_PROPERTY_SCOPE_NAME
- See Also:
-
JSON_PROPERTY_VALUES
- See Also:
-
-
Constructor Details
-
V1ScopedResourceSelectorRequirement
-
-
Method Details
-
getOperator
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.- Returns:
- the operator property value
-
setOperator
Set the operator property value -
operator
Set operator in a chainable fashion.- Returns:
- The same instance of V1ScopedResourceSelectorRequirement for chaining.
-
getScopeName
The name of the scope that the selector applies to.- Returns:
- the scopeName property value
-
setScopeName
Set the scopeName property value -
scopeName
Set scopeName in a chainable fashion.- Returns:
- The same instance of V1ScopedResourceSelectorRequirement for chaining.
-
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:
- the values property value
-
setValues
Set the values property value -
values
Set values in a chainable fashion.- Returns:
- The same instance of V1ScopedResourceSelectorRequirement for chaining.
-
addvaluesItem
Add an item to the values property in a chainable fashion.- Returns:
- The same instance of V1ScopedResourceSelectorRequirement for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-