Class AddonAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.eks.AddonAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AddonAttributes>
- Enclosing interface:
AddonAttributes
@Stability(Stable)
public static final class AddonAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<AddonAttributes>
A builder for
AddonAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAddonAttributes.getAddonName()
build()
Builds the configured instance.clusterName
(String clusterName) Sets the value ofAddonAttributes.getClusterName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addonName
Sets the value ofAddonAttributes.getAddonName()
- Parameters:
addonName
- The name of the addon. This parameter is required.- Returns:
this
-
clusterName
Sets the value ofAddonAttributes.getClusterName()
- Parameters:
clusterName
- The name of the Amazon EKS cluster the addon is associated with. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AddonAttributes>
- Returns:
- a new instance of
AddonAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-