Package org.cdk8s.plus24.k8s
Class Affinity.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.Affinity.Jsii$Proxy
-
-
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.Affinity
Affinity.Builder, Affinity.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(Affinity.Builder builder)
Constructor that initializes the object based on literal property values passed by theAffinity.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)
NodeAffinity
getNodeAffinity()
Describes node affinity scheduling rules for the pod.PodAffinity
getPodAffinity()
Describes pod affinity scheduling rules (e.g.PodAntiAffinity
getPodAntiAffinity()
Describes pod anti-affinity scheduling rules (e.g.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(Affinity.Builder builder)
Constructor that initializes the object based on literal property values passed by theAffinity.Builder
.
-
-
Method Detail
-
getNodeAffinity
public final NodeAffinity getNodeAffinity()
Description copied from interface:Affinity
Describes node affinity scheduling rules for the pod.- Specified by:
getNodeAffinity
in interfaceAffinity
-
getPodAffinity
public final PodAffinity getPodAffinity()
Description copied from interface:Affinity
Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).- Specified by:
getPodAffinity
in interfaceAffinity
-
getPodAntiAffinity
public final PodAntiAffinity getPodAntiAffinity()
Description copied from interface:Affinity
Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).- Specified by:
getPodAntiAffinity
in interfaceAffinity
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-