Package kubevirt.io
Class V1NodeSelectorTerm
- java.lang.Object
-
- kubevirt.io.V1NodeSelectorTerm
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1NodeSelectorTerm extends java.lang.ObjectA null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
-
-
Constructor Summary
Constructors Constructor Description V1NodeSelectorTerm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1NodeSelectorTermaddMatchExpressionsItem(V1NodeSelectorRequirement matchExpressionsItem)V1NodeSelectorTermaddMatchFieldsItem(V1NodeSelectorRequirement matchFieldsItem)booleanequals(java.lang.Object o)java.util.List<V1NodeSelectorRequirement>getMatchExpressions()A list of node selector requirements by node's labels.java.util.List<V1NodeSelectorRequirement>getMatchFields()A list of node selector requirements by node's fields.inthashCode()V1NodeSelectorTermmatchExpressions(java.util.List<V1NodeSelectorRequirement> matchExpressions)V1NodeSelectorTermmatchFields(java.util.List<V1NodeSelectorRequirement> matchFields)voidsetMatchExpressions(java.util.List<V1NodeSelectorRequirement> matchExpressions)voidsetMatchFields(java.util.List<V1NodeSelectorRequirement> matchFields)java.lang.StringtoString()
-
-
-
Method Detail
-
matchExpressions
public V1NodeSelectorTerm matchExpressions(java.util.List<V1NodeSelectorRequirement> matchExpressions)
-
addMatchExpressionsItem
public V1NodeSelectorTerm addMatchExpressionsItem(V1NodeSelectorRequirement matchExpressionsItem)
-
getMatchExpressions
public java.util.List<V1NodeSelectorRequirement> getMatchExpressions()
A list of node selector requirements by node's labels.- Returns:
- matchExpressions
-
setMatchExpressions
public void setMatchExpressions(java.util.List<V1NodeSelectorRequirement> matchExpressions)
-
matchFields
public V1NodeSelectorTerm matchFields(java.util.List<V1NodeSelectorRequirement> matchFields)
-
addMatchFieldsItem
public V1NodeSelectorTerm addMatchFieldsItem(V1NodeSelectorRequirement matchFieldsItem)
-
getMatchFields
public java.util.List<V1NodeSelectorRequirement> getMatchFields()
A list of node selector requirements by node's fields.- Returns:
- matchFields
-
setMatchFields
public void setMatchFields(java.util.List<V1NodeSelectorRequirement> matchFields)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-