Class V1TopologySelectorLabelRequirement
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1TopologySelectorLabelRequirement
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1TopologySelectorLabelRequirement
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
-
Constructor Summary
ConstructorDescriptionV1TopologySelectorLabelRequirement
(String key, List<@NotNull String> values) -
Method Summary
Modifier and TypeMethodDescriptionaddvaluesItem
(String valuesItem) Add an item to the values property in a chainable fashion.boolean
getKey()
The label key that the selector applies to.An array of string values.int
hashCode()
Set key in a chainable fashion.void
Set the key property valuevoid
Set the values property valuetoString()
Set values in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_VALUES
- See Also:
-
-
Constructor Details
-
V1TopologySelectorLabelRequirement
-
-
Method Details
-
getKey
The label key that the selector applies to.- Returns:
- the key property value
-
setKey
Set the key property value- Parameters:
key
- property value to set
-
key
Set key in a chainable fashion.- Returns:
- The same instance of V1TopologySelectorLabelRequirement for chaining.
-
getValues
An array of string values. One value must match the label to be selected. Each entry in Values is ORed.- Returns:
- the values property value
-
setValues
Set the values property value- Parameters:
values
- property value to set
-
values
Set values in a chainable fashion.- Returns:
- The same instance of V1TopologySelectorLabelRequirement for chaining.
-
addvaluesItem
Add an item to the values property in a chainable fashion.- Returns:
- The same instance of V1TopologySelectorLabelRequirement for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-