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.Object
A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<V1NodeSelectorRequirement>
matchExpressions
private java.util.List<V1NodeSelectorRequirement>
matchFields
-
Constructor Summary
Constructors Constructor Description V1NodeSelectorTerm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1NodeSelectorTerm
addMatchExpressionsItem(V1NodeSelectorRequirement matchExpressionsItem)
V1NodeSelectorTerm
addMatchFieldsItem(V1NodeSelectorRequirement matchFieldsItem)
boolean
equals(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.int
hashCode()
V1NodeSelectorTerm
matchExpressions(java.util.List<V1NodeSelectorRequirement> matchExpressions)
V1NodeSelectorTerm
matchFields(java.util.List<V1NodeSelectorRequirement> matchFields)
void
setMatchExpressions(java.util.List<V1NodeSelectorRequirement> matchExpressions)
void
setMatchFields(java.util.List<V1NodeSelectorRequirement> matchFields)
private java.lang.String
toIndentedString(java.lang.Object o)
Convert the given object to string with each line indented by 4 spaces (except the first line).java.lang.String
toString()
-
-
-
Field Detail
-
matchExpressions
private java.util.List<V1NodeSelectorRequirement> matchExpressions
-
matchFields
private java.util.List<V1NodeSelectorRequirement> matchFields
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toIndentedString
private java.lang.String toIndentedString(java.lang.Object o)
Convert the given object to string with each line indented by 4 spaces (except the first line).
-
-