Package org.cdk8s.plus24.k8s
Class WeightedPodAffinityTerm.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.WeightedPodAffinityTerm.Jsii$Proxy
-
- All Implemented Interfaces:
WeightedPodAffinityTerm
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- WeightedPodAffinityTerm
@Stability(Stable) @Internal public static final class WeightedPodAffinityTerm.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements WeightedPodAffinityTerm
An implementation forWeightedPodAffinityTerm
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.WeightedPodAffinityTerm
WeightedPodAffinityTerm.Builder, WeightedPodAffinityTerm.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(WeightedPodAffinityTerm.Builder builder)
Constructor that initializes the object based on literal property values passed by theWeightedPodAffinityTerm.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
PodAffinityTerm
getPodAffinityTerm()
Required.Number
getWeight()
weight associated with matching the corresponding podAffinityTerm, in the range 1-100.int
hashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(WeightedPodAffinityTerm.Builder builder)
Constructor that initializes the object based on literal property values passed by theWeightedPodAffinityTerm.Builder
.
-
-
Method Detail
-
getPodAffinityTerm
public final PodAffinityTerm getPodAffinityTerm()
Description copied from interface:WeightedPodAffinityTerm
Required.A pod affinity term, associated with the corresponding weight.
- Specified by:
getPodAffinityTerm
in interfaceWeightedPodAffinityTerm
-
getWeight
public final Number getWeight()
Description copied from interface:WeightedPodAffinityTerm
weight associated with matching the corresponding podAffinityTerm, in the range 1-100.- Specified by:
getWeight
in interfaceWeightedPodAffinityTerm
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-