Package kubevirt.io
Class V1WeightedPodAffinityTerm
java.lang.Object
kubevirt.io.V1WeightedPodAffinityTerm
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
public class V1WeightedPodAffinityTerm
extends Object
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRequired.weight associated with matching the corresponding podAffinityTerm, in the range 1-100.inthashCode()podAffinityTerm(V1PodAffinityTerm podAffinityTerm) voidsetPodAffinityTerm(V1PodAffinityTerm podAffinityTerm) voidprivate StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
podAffinityTerm
-
weight
-
-
Constructor Details
-
V1WeightedPodAffinityTerm
public V1WeightedPodAffinityTerm()
-
-
Method Details
-
podAffinityTerm
-
getPodAffinityTerm
Required. A pod affinity term, associated with the corresponding weight.- Returns:
- podAffinityTerm
-
setPodAffinityTerm
-
weight
-
getWeight
weight associated with matching the corresponding podAffinityTerm, in the range 1-100.- Returns:
- weight
-
setWeight
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-