Class V1TopologySelectorTerm
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1TopologySelectorTerm
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1TopologySelectorTerm
extends Object
A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddmatchLabelExpressionsItem
(V1TopologySelectorLabelRequirement matchLabelExpressionsItem) Add an item to the matchLabelExpressions property in a chainable fashion.boolean
A list of topology selector requirements by labels.int
hashCode()
matchLabelExpressions
(List<@Valid V1TopologySelectorLabelRequirement> matchLabelExpressions) Set matchLabelExpressions in a chainable fashion.void
setMatchLabelExpressions
(List<@Valid V1TopologySelectorLabelRequirement> matchLabelExpressions) Set the matchLabelExpressions property valuetoString()
-
Field Details
-
JSON_PROPERTY_MATCH_LABEL_EXPRESSIONS
- See Also:
-
-
Constructor Details
-
V1TopologySelectorTerm
public V1TopologySelectorTerm()
-
-
Method Details
-
getMatchLabelExpressions
A list of topology selector requirements by labels.- Returns:
- the matchLabelExpressions property value
-
setMatchLabelExpressions
public void setMatchLabelExpressions(List<@Valid V1TopologySelectorLabelRequirement> matchLabelExpressions) Set the matchLabelExpressions property value- Parameters:
matchLabelExpressions
- property value to set
-
matchLabelExpressions
public V1TopologySelectorTerm matchLabelExpressions(List<@Valid V1TopologySelectorLabelRequirement> matchLabelExpressions) Set matchLabelExpressions in a chainable fashion.- Returns:
- The same instance of V1TopologySelectorTerm for chaining.
-
addmatchLabelExpressionsItem
public V1TopologySelectorTerm addmatchLabelExpressionsItem(V1TopologySelectorLabelRequirement matchLabelExpressionsItem) Add an item to the matchLabelExpressions property in a chainable fashion.- Returns:
- The same instance of V1TopologySelectorTerm for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-