Class Taint.Jsii$Proxy

  • All Implemented Interfaces:
    Taint, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    Taint

    @Stability(Stable)
    @Internal
    public static final class Taint.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements Taint
    An implementation for Taint
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(Taint.Builder builder)
      Constructor that initializes the object based on literal property values passed by the Taint.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • 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​(Taint.Builder builder)
        Constructor that initializes the object based on literal property values passed by the Taint.Builder.
    • Method Detail

      • getEffect

        public final String getEffect()
        Description copied from interface: Taint
        Required.

        The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

        Specified by:
        getEffect in interface Taint
      • getKey

        public final String getKey()
        Description copied from interface: Taint
        Required.

        The taint key to be applied to a node.

        Specified by:
        getKey in interface Taint
      • getTimeAdded

        public final Instant getTimeAdded()
        Description copied from interface: Taint
        TimeAdded represents the time at which the taint was added.

        It is only written for NoExecute taints.

        Specified by:
        getTimeAdded in interface Taint
      • getValue

        public final String getValue()
        Description copied from interface: Taint
        The taint value corresponding to the taint key.
        Specified by:
        getValue in interface Taint
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object