Package org.cdk8s.plus24
Class PodSchedulingColocateOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.PodSchedulingColocateOptions.Jsii$Proxy
-
- All Implemented Interfaces:
PodSchedulingColocateOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PodSchedulingColocateOptions
@Stability(Stable) @Internal public static final class PodSchedulingColocateOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PodSchedulingColocateOptions
An implementation forPodSchedulingColocateOptions
-
-
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.PodSchedulingColocateOptions
PodSchedulingColocateOptions.Builder, PodSchedulingColocateOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PodSchedulingColocateOptions.Builder builder)Constructor that initializes the object based on literal property values passed by thePodSchedulingColocateOptions.Builder.protectedJsii$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()booleanequals(Object o)TopologygetTopology()Which topology to coloate on.NumbergetWeight()Indicates the co-location is optional (soft), with this weight score.inthashCode()
-
-
-
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(PodSchedulingColocateOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by thePodSchedulingColocateOptions.Builder.
-
-
Method Detail
-
getTopology
public final Topology getTopology()
Description copied from interface:PodSchedulingColocateOptionsWhich topology to coloate on.Default: - Topology.HOSTNAME
- Specified by:
getTopologyin interfacePodSchedulingColocateOptions
-
getWeight
public final Number getWeight()
Description copied from interface:PodSchedulingColocateOptionsIndicates the co-location is optional (soft), with this weight score.Default: - no weight. co-location is assumed to be required (hard).
- Specified by:
getWeightin interfacePodSchedulingColocateOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-