Class EksOptimizedImage.Builder

java.lang.Object
software.amazon.awscdk.services.eks.legacy.EksOptimizedImage.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<EksOptimizedImage>
Enclosing class:
EksOptimizedImage

@Stability(Deprecated) @Deprecated public static final class EksOptimizedImage.Builder extends Object implements software.amazon.jsii.Builder<EksOptimizedImage>
Deprecated.
(deprecated) A fluent builder for EksOptimizedImage.
  • Method Details

    • create

      @Stability(Deprecated) @Deprecated public static EksOptimizedImage.Builder create()
      Deprecated.
      Returns:
      a new instance of EksOptimizedImage.Builder.
    • kubernetesVersion

      @Stability(Deprecated) @Deprecated public EksOptimizedImage.Builder kubernetesVersion(String kubernetesVersion)
      Deprecated.
      (deprecated) The Kubernetes version to use.

      Default: - The latest version

      Parameters:
      kubernetesVersion - The Kubernetes version to use. This parameter is required.
      Returns:
      this
    • nodeType

      @Stability(Deprecated) @Deprecated public EksOptimizedImage.Builder nodeType(NodeType nodeType)
      Deprecated.
      (deprecated) What instance type to retrieve the image for (standard or GPU-optimized).

      Default: NodeType.STANDARD

      Parameters:
      nodeType - What instance type to retrieve the image for (standard or GPU-optimized). This parameter is required.
      Returns:
      this
    • build

      @Stability(Deprecated) @Deprecated public EksOptimizedImage build()
      Deprecated.
      Specified by:
      build in interface software.amazon.jsii.Builder<EksOptimizedImage>
      Returns:
      a newly built instance of EksOptimizedImage.