Interface TaintSpec

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
TaintSpec.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:01.503Z") @Stability(Stable) public interface TaintSpec extends software.amazon.jsii.JsiiSerializable
Taint interface.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.eks.*;
 TaintSpec taintSpec = TaintSpec.builder()
         .effect(TaintEffect.NO_SCHEDULE)
         .key("key")
         .value("value")
         .build();
 
  • Method Details

    • getEffect

      @Stability(Stable) @Nullable default TaintEffect getEffect()
      Effect type.

      Default: - None

    • getKey

      @Stability(Stable) @Nullable default String getKey()
      Taint key.

      Default: - None

    • getValue

      @Stability(Stable) @Nullable default String getValue()
      Taint value.

      Default: - None

    • builder

      @Stability(Stable) static TaintSpec.Builder builder()
      Returns:
      a TaintSpec.Builder of TaintSpec