Class Toleration.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.k8s.Toleration
Toleration.Builder, Toleration.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(Toleration.Builder builder)
Constructor that initializes the object based on literal property values passed by theToleration.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)
String
getEffect()
Effect indicates the taint effect to match.String
getKey()
Key is the taint key that the toleration applies to.String
getOperator()
Operator represents a key's relationship to the value.Number
getTolerationSeconds()
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.String
getValue()
Value is the taint value the toleration matches to.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(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:Toleration
Effect indicates the taint effect to match.Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- Specified by:
getEffect
in interfaceToleration
-
getKey
public final String getKey()
Description copied from interface:Toleration
Key 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:
getKey
in interfaceToleration
-
getOperator
public final String getOperator()
Description copied from interface:Toleration
Operator 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:
getOperator
in interfaceToleration
-
getTolerationSeconds
public final Number getTolerationSeconds()
Description copied from interface:Toleration
TolerationSeconds 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:
getTolerationSeconds
in interfaceToleration
-
getValue
public final String getValue()
Description copied from interface:Toleration
Value 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:
getValue
in interfaceToleration
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-