Class AddonProps.Builder
java.lang.Object
software.amazon.awscdk.services.eks.v2.alpha.AddonProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AddonProps>
- Enclosing interface:
AddonProps
@Stability(Deprecated)
@Deprecated
public static final class AddonProps.Builder
extends Object
implements software.amazon.jsii.Builder<AddonProps>
Deprecated.
A builder for
AddonProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.addonVersion(String addonVersion) Deprecated.build()Deprecated.Deprecated.configurationValues(Map<String, ? extends Object> configurationValues) Deprecated.preserveOnDelete(Boolean preserveOnDelete) Deprecated.removalPolicy(RemovalPolicy removalPolicy) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
addonName
Deprecated.Sets the value ofAddonProps.getAddonName()- Parameters:
addonName- Name of the Add-On. This parameter is required.- Returns:
this
-
cluster
Deprecated.Sets the value ofAddonProps.getCluster()- Parameters:
cluster- The EKS cluster the Add-On is associated with. This parameter is required.- Returns:
this
-
addonVersion
Deprecated.Sets the value ofAddonProps.getAddonVersion()- Parameters:
addonVersion- Version of the Add-On. You can check all available versions with describe-addon-versions. For example, this lists all available versions for theeks-pod-identity-agentaddon: $ aws eks describe-addon-versions --addon-name eks-pod-identity-agent \ --query 'addons[].addonVersions[].addonVersion'- Returns:
this
-
configurationValues
@Stability(Deprecated) @Deprecated public AddonProps.Builder configurationValues(Map<String, ? extends Object> configurationValues) Deprecated.Sets the value ofAddonProps.getConfigurationValues()- Parameters:
configurationValues- The configuration values for the Add-on.- Returns:
this
-
preserveOnDelete
@Stability(Deprecated) @Deprecated public AddonProps.Builder preserveOnDelete(Boolean preserveOnDelete) Deprecated.Sets the value ofAddonProps.getPreserveOnDelete()- Parameters:
preserveOnDelete- Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it isn't removed.- Returns:
this
-
removalPolicy
@Stability(Deprecated) @Deprecated public AddonProps.Builder removalPolicy(RemovalPolicy removalPolicy) Deprecated.Sets the value ofAddonProps.getRemovalPolicy()- Parameters:
removalPolicy- The removal policy applied to the EKS add-on. The removal policy controls what happens to the resource if it stops being managed by CloudFormation. This can happen in one of three situations:- The resource is removed from the template, so CloudFormation stops managing it
- A change to the resource is made that requires it to be replaced, so CloudFormation stops managing it
- The stack is deleted, so CloudFormation stops managing all resources in it
- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AddonProps>- Returns:
- a new instance of
AddonProps - Throws:
NullPointerException- if any required attribute was not provided
-