Class V1WeightedPodAffinityTerm
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1WeightedPodAffinityTerm
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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
-
Constructor Summary
ConstructorDescriptionV1WeightedPodAffinityTerm
(V1PodAffinityTerm podAffinityTerm, Integer weight) -
Method Summary
Modifier and TypeMethodDescriptionboolean
weight associated with matching the corresponding podAffinityTerm, in the range 1-100.int
hashCode()
podAffinityTerm
(V1PodAffinityTerm podAffinityTerm) Set podAffinityTerm in a chainable fashion.void
setPodAffinityTerm
(V1PodAffinityTerm podAffinityTerm) Set the podAffinityTerm property valuevoid
Set the weight property valuetoString()
Set weight in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_POD_AFFINITY_TERM
- See Also:
-
JSON_PROPERTY_WEIGHT
- See Also:
-
-
Constructor Details
-
V1WeightedPodAffinityTerm
-
-
Method Details
-
getPodAffinityTerm
- Returns:
- the podAffinityTerm property value
-
setPodAffinityTerm
Set the podAffinityTerm property value -
podAffinityTerm
Set podAffinityTerm in a chainable fashion.- Returns:
- The same instance of V1WeightedPodAffinityTerm for chaining.
-
getWeight
weight associated with matching the corresponding podAffinityTerm, in the range 1-100.- Returns:
- the weight property value
-
setWeight
Set the weight property value -
weight
Set weight in a chainable fashion.- Returns:
- The same instance of V1WeightedPodAffinityTerm for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-