Class V1ScopedResourceSelectorRequirement
java.lang.Object
io.kubernetes.client.openapi.models.V1ScopedResourceSelectorRequirement
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValuesItem
(String valuesItem) 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()
void
setOperator
(String operator) void
setScopeName
(String scopeName) void
toString()
-
Field Details
-
SERIALIZED_NAME_OPERATOR
- See Also:
-
SERIALIZED_NAME_SCOPE_NAME
- See Also:
-
SERIALIZED_NAME_VALUES
- See Also:
-
-
Constructor Details
-
V1ScopedResourceSelectorRequirement
public V1ScopedResourceSelectorRequirement()
-
-
Method Details
-
operator
-
getOperator
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.- Returns:
- operator
-
setOperator
-
scopeName
-
getScopeName
The name of the scope that the selector applies to.- Returns:
- scopeName
-
setScopeName
-
values
-
addValuesItem
-
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
-
setValues
-
equals
-
hashCode
public int hashCode() -
toString
-