Class EksOptimizedImageProps.Builder
java.lang.Object
software.amazon.awscdk.services.eks.legacy.EksOptimizedImageProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EksOptimizedImageProps>
- Enclosing interface:
- EksOptimizedImageProps
@Stability(Deprecated)
@Deprecated
public static final class EksOptimizedImageProps.Builder
extends Object
implements software.amazon.jsii.Builder<EksOptimizedImageProps>
Deprecated.
A builder for
EksOptimizedImageProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.kubernetesVersion
(String kubernetesVersion) Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
kubernetesVersion
@Stability(Deprecated) @Deprecated public EksOptimizedImageProps.Builder kubernetesVersion(String kubernetesVersion) Deprecated.Sets the value ofEksOptimizedImageProps.getKubernetesVersion()
- Parameters:
kubernetesVersion
- The Kubernetes version to use.- Returns:
this
-
nodeType
@Stability(Deprecated) @Deprecated public EksOptimizedImageProps.Builder nodeType(NodeType nodeType) Deprecated.Sets the value ofEksOptimizedImageProps.getNodeType()
- Parameters:
nodeType
- What instance type to retrieve the image for (standard or GPU-optimized).- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EksOptimizedImageProps>
- Returns:
- a new instance of
EksOptimizedImageProps
- Throws:
NullPointerException
- if any required attribute was not provided
-