Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1WeightedPodAffinityTerm
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1WeightedPodAffinityTerm
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1WeightedPodAffinityTerm 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 Modifier and Type Field Description static StringJSON_PROPERTY_POD_AFFINITY_TERMstatic StringJSON_PROPERTY_WEIGHT
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1WeightedPodAffinityTerm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IoK8sApiCoreV1PodAffinityTermgetPodAffinityTerm()Get podAffinityTermIntegergetWeight()weight associated with matching the corresponding podAffinityTerm, in the range 1-100.inthashCode()IoK8sApiCoreV1WeightedPodAffinityTermpodAffinityTerm(IoK8sApiCoreV1PodAffinityTerm podAffinityTerm)voidsetPodAffinityTerm(IoK8sApiCoreV1PodAffinityTerm podAffinityTerm)voidsetWeight(Integer weight)StringtoString()IoK8sApiCoreV1WeightedPodAffinityTermweight(Integer weight)
-
-
-
Field Detail
-
JSON_PROPERTY_POD_AFFINITY_TERM
public static final String JSON_PROPERTY_POD_AFFINITY_TERM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEIGHT
public static final String JSON_PROPERTY_WEIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
podAffinityTerm
public IoK8sApiCoreV1WeightedPodAffinityTerm podAffinityTerm(IoK8sApiCoreV1PodAffinityTerm podAffinityTerm)
-
getPodAffinityTerm
public IoK8sApiCoreV1PodAffinityTerm getPodAffinityTerm()
Get podAffinityTerm- Returns:
- podAffinityTerm
-
setPodAffinityTerm
public void setPodAffinityTerm(IoK8sApiCoreV1PodAffinityTerm podAffinityTerm)
-
weight
public IoK8sApiCoreV1WeightedPodAffinityTerm weight(Integer weight)
-
getWeight
public Integer getWeight()
weight associated with matching the corresponding podAffinityTerm, in the range 1-100.- Returns:
- weight
-
setWeight
public void setWeight(Integer weight)
-
-