Package org.cdk8s.plus25.k8s
Interface WeightedPodAffinityTerm
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WeightedPodAffinityTerm.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.853Z") @Stability(Stable) public interface WeightedPodAffinityTerm extends software.amazon.jsii.JsiiSerializable
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWeightedPodAffinityTerm.BuilderA builder forWeightedPodAffinityTermstatic classWeightedPodAffinityTerm.Jsii$ProxyAn implementation forWeightedPodAffinityTerm
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static WeightedPodAffinityTerm.Builderbuilder()PodAffinityTermgetPodAffinityTerm()Required.NumbergetWeight()weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
-
-
-
Method Detail
-
getPodAffinityTerm
@Stability(Stable) @NotNull PodAffinityTerm getPodAffinityTerm()
Required.A pod affinity term, associated with the corresponding weight.
-
getWeight
@Stability(Stable) @NotNull Number getWeight()
weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
-
builder
@Stability(Stable) static WeightedPodAffinityTerm.Builder builder()
- Returns:
- a
WeightedPodAffinityTerm.BuilderofWeightedPodAffinityTerm
-
-