Class EksOptimizedImage.Builder
java.lang.Object
software.amazon.awscdk.services.eks.EksOptimizedImage.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EksOptimizedImage>
- Enclosing class:
EksOptimizedImage
@Stability(Stable)
public static final class EksOptimizedImage.Builder
extends Object
implements software.amazon.jsii.Builder<EksOptimizedImage>
A fluent builder for
EksOptimizedImage
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
What cpu architecture to retrieve the image for (arm64 or x86_64).static EksOptimizedImage.Builder
create()
kubernetesVersion
(String kubernetesVersion) The Kubernetes version to use.What instance type to retrieve the image for (standard or GPU-optimized).
-
Method Details
-
create
- Returns:
- a new instance of
EksOptimizedImage.Builder
.
-
cpuArch
What cpu architecture to retrieve the image for (arm64 or x86_64).Default: CpuArch.X86_64
- Parameters:
cpuArch
- What cpu architecture to retrieve the image for (arm64 or x86_64). This parameter is required.- Returns:
this
-
kubernetesVersion
The Kubernetes version to use.Default: - The latest version
- Parameters:
kubernetesVersion
- The Kubernetes version to use. This parameter is required.- Returns:
this
-
nodeType
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EksOptimizedImage>
- Returns:
- a newly built instance of
EksOptimizedImage
.
-