Class V1WeightedPodAffinityTerm
java.lang.Object
io.kubernetes.client.openapi.models.V1WeightedPodAffinityTerm
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get podAffinityTermweight associated with matching the corresponding podAffinityTerm, in the range 1-100.int
hashCode()
podAffinityTerm
(V1PodAffinityTerm podAffinityTerm) void
setPodAffinityTerm
(V1PodAffinityTerm podAffinityTerm) void
toString()
-
Field Details
-
SERIALIZED_NAME_POD_AFFINITY_TERM
- See Also:
-
SERIALIZED_NAME_WEIGHT
- See Also:
-
-
Constructor Details
-
V1WeightedPodAffinityTerm
public V1WeightedPodAffinityTerm()
-
-
Method Details
-
podAffinityTerm
-
getPodAffinityTerm
Get podAffinityTerm- 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
-