Class V1TopologySelectorTerm
java.lang.Object
io.kubernetes.client.openapi.models.V1TopologySelectorTerm
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
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) boolean
A list of topology selector requirements by labels.int
hashCode()
matchLabelExpressions
(List<V1TopologySelectorLabelRequirement> matchLabelExpressions) void
setMatchLabelExpressions
(List<V1TopologySelectorLabelRequirement> matchLabelExpressions) toString()
-
Field Details
-
SERIALIZED_NAME_MATCH_LABEL_EXPRESSIONS
- See Also:
-
-
Constructor Details
-
V1TopologySelectorTerm
public V1TopologySelectorTerm()
-
-
Method Details
-
matchLabelExpressions
public V1TopologySelectorTerm matchLabelExpressions(List<V1TopologySelectorLabelRequirement> matchLabelExpressions) -
addMatchLabelExpressionsItem
public V1TopologySelectorTerm addMatchLabelExpressionsItem(V1TopologySelectorLabelRequirement matchLabelExpressionsItem) -
getMatchLabelExpressions
A list of topology selector requirements by labels.- Returns:
- matchLabelExpressions
-
setMatchLabelExpressions
public void setMatchLabelExpressions(List<V1TopologySelectorLabelRequirement> matchLabelExpressions) -
equals
-
hashCode
public int hashCode() -
toString
-