Class Toleration.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.Toleration.Jsii$Proxy
-
- All Implemented Interfaces:
Toleration,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- Toleration
@Stability(Stable) @Internal public static final class Toleration.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements Toleration
An implementation forToleration
-
-
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.plus25.k8s.Toleration
Toleration.Builder, Toleration.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(Toleration.Builder builder)Constructor that initializes the object based on literal property values passed by theToleration.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)StringgetEffect()Effect indicates the taint effect to match.StringgetKey()Key is the taint key that the toleration applies to.StringgetOperator()Operator represents a key's relationship to the value.NumbergetTolerationSeconds()TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.StringgetValue()Value is the taint value the toleration matches to.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(Toleration.Builder builder)
Constructor that initializes the object based on literal property values passed by theToleration.Builder.
-
-
Method Detail
-
getEffect
public final String getEffect()
Description copied from interface:TolerationEffect indicates the taint effect to match.Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- Specified by:
getEffectin interfaceToleration
-
getKey
public final String getKey()
Description copied from interface:TolerationKey is the taint key that the toleration applies to.Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- Specified by:
getKeyin interfaceToleration
-
getOperator
public final String getOperator()
Description copied from interface:TolerationOperator represents a key's relationship to the value.Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
Default: Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- Specified by:
getOperatorin interfaceToleration
-
getTolerationSeconds
public final Number getTolerationSeconds()
Description copied from interface:TolerationTolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- Specified by:
getTolerationSecondsin interfaceToleration
-
getValue
public final String getValue()
Description copied from interface:TolerationValue is the taint value the toleration matches to.If the operator is Exists, the value should be empty, otherwise just a regular string.
- Specified by:
getValuein interfaceToleration
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-