Package kubevirt.io

Class 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.
    • Constructor Detail

      • V1NodeSelectorTerm

        public V1NodeSelectorTerm()
    • Method Detail

      • getMatchExpressions

        public java.util.List<V1NodeSelectorRequirement> getMatchExpressions()
        A list of node selector requirements by node's labels.
        Returns:
        matchExpressions
      • getMatchFields

        public java.util.List<V1NodeSelectorRequirement> getMatchFields()
        A list of node selector requirements by node's fields.
        Returns:
        matchFields
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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).