Interface TaintSpec

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.668Z") @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