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 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
FieldsModifier and TypeFieldDescriptionprivate List<V1NodeSelectorRequirement> private List<V1NodeSelectorRequirement> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMatchExpressionsItem(V1NodeSelectorRequirement matchExpressionsItem) addMatchFieldsItem(V1NodeSelectorRequirement matchFieldsItem) booleanA list of node selector requirements by node's labels.A list of node selector requirements by node's fields.inthashCode()matchExpressions(List<V1NodeSelectorRequirement> matchExpressions) matchFields(List<V1NodeSelectorRequirement> matchFields) voidsetMatchExpressions(List<V1NodeSelectorRequirement> matchExpressions) voidsetMatchFields(List<V1NodeSelectorRequirement> matchFields) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
matchExpressions
-
matchFields
-
-
Constructor Details
-
V1NodeSelectorTerm
public V1NodeSelectorTerm()
-
-
Method Details
-
matchExpressions
-
addMatchExpressionsItem
-
getMatchExpressions
A list of node selector requirements by node's labels.- Returns:
- matchExpressions
-
setMatchExpressions
-
matchFields
-
addMatchFieldsItem
-
getMatchFields
A list of node selector requirements by node's fields.- Returns:
- matchFields
-
setMatchFields
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-