Class EksAddonConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.eks_addon.EksAddonConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EksAddonConfig>
- Enclosing interface:
- EksAddonConfig
@Stability(Stable) public static final class EksAddonConfig.Builder extends Object implements software.amazon.jsii.Builder<EksAddonConfig>
A builder forEksAddonConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EksAddonConfig.BuilderaddonName(String addonName)Sets the value ofEksAddonConfig.getAddonName()EksAddonConfig.BuilderaddonVersion(String addonVersion)Sets the value ofEksAddonConfig.getAddonVersion()EksAddonConfigbuild()Builds the configured instance.EksAddonConfig.BuilderclusterName(String clusterName)Sets the value ofEksAddonConfig.getClusterName()EksAddonConfig.BuilderconfigurationValues(String configurationValues)Sets the value ofEksAddonConfig.getConfigurationValues()EksAddonConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()EksAddonConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()EksAddonConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()EksAddonConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()EksAddonConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()EksAddonConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()EksAddonConfig.Builderid(String id)Sets the value ofEksAddonConfig.getId()EksAddonConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()EksAddonConfig.Builderpreserve(com.hashicorp.cdktf.IResolvable preserve)Sets the value ofEksAddonConfig.getPreserve()EksAddonConfig.Builderpreserve(Boolean preserve)Sets the value ofEksAddonConfig.getPreserve()EksAddonConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()EksAddonConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()EksAddonConfig.BuilderresolveConflicts(String resolveConflicts)Sets the value ofEksAddonConfig.getResolveConflicts()EksAddonConfig.BuilderresolveConflictsOnCreate(String resolveConflictsOnCreate)Sets the value ofEksAddonConfig.getResolveConflictsOnCreate()EksAddonConfig.BuilderresolveConflictsOnUpdate(String resolveConflictsOnUpdate)Sets the value ofEksAddonConfig.getResolveConflictsOnUpdate()EksAddonConfig.BuilderserviceAccountRoleArn(String serviceAccountRoleArn)Sets the value ofEksAddonConfig.getServiceAccountRoleArn()EksAddonConfig.Buildertags(Map<String,String> tags)Sets the value ofEksAddonConfig.getTags()EksAddonConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofEksAddonConfig.getTagsAll()EksAddonConfig.Buildertimeouts(EksAddonTimeouts timeouts)Sets the value ofEksAddonConfig.getTimeouts()
-
-
-
Method Detail
-
addonName
@Stability(Stable) public EksAddonConfig.Builder addonName(String addonName)
Sets the value ofEksAddonConfig.getAddonName()- Parameters:
addonName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#addon_name EksAddon#addon_name}. This parameter is required.- Returns:
this
-
clusterName
@Stability(Stable) public EksAddonConfig.Builder clusterName(String clusterName)
Sets the value ofEksAddonConfig.getClusterName()- Parameters:
clusterName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#cluster_name EksAddon#cluster_name}. This parameter is required.- Returns:
this
-
addonVersion
@Stability(Stable) public EksAddonConfig.Builder addonVersion(String addonVersion)
Sets the value ofEksAddonConfig.getAddonVersion()- Parameters:
addonVersion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#addon_version EksAddon#addon_version}.- Returns:
this
-
configurationValues
@Stability(Stable) public EksAddonConfig.Builder configurationValues(String configurationValues)
Sets the value ofEksAddonConfig.getConfigurationValues()- Parameters:
configurationValues- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#configuration_values EksAddon#configuration_values}.- Returns:
this
-
id
@Stability(Stable) public EksAddonConfig.Builder id(String id)
Sets the value ofEksAddonConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#id EksAddon#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
preserve
@Stability(Stable) public EksAddonConfig.Builder preserve(Boolean preserve)
Sets the value ofEksAddonConfig.getPreserve()- Parameters:
preserve- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#preserve EksAddon#preserve}.- Returns:
this
-
preserve
@Stability(Stable) public EksAddonConfig.Builder preserve(com.hashicorp.cdktf.IResolvable preserve)
Sets the value ofEksAddonConfig.getPreserve()- Parameters:
preserve- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#preserve EksAddon#preserve}.- Returns:
this
-
resolveConflicts
@Stability(Stable) public EksAddonConfig.Builder resolveConflicts(String resolveConflicts)
Sets the value ofEksAddonConfig.getResolveConflicts()- Parameters:
resolveConflicts- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#resolve_conflicts EksAddon#resolve_conflicts}.- Returns:
this
-
resolveConflictsOnCreate
@Stability(Stable) public EksAddonConfig.Builder resolveConflictsOnCreate(String resolveConflictsOnCreate)
Sets the value ofEksAddonConfig.getResolveConflictsOnCreate()- Parameters:
resolveConflictsOnCreate- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#resolve_conflicts_on_create EksAddon#resolve_conflicts_on_create}.- Returns:
this
-
resolveConflictsOnUpdate
@Stability(Stable) public EksAddonConfig.Builder resolveConflictsOnUpdate(String resolveConflictsOnUpdate)
Sets the value ofEksAddonConfig.getResolveConflictsOnUpdate()- Parameters:
resolveConflictsOnUpdate- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#resolve_conflicts_on_update EksAddon#resolve_conflicts_on_update}.- Returns:
this
-
serviceAccountRoleArn
@Stability(Stable) public EksAddonConfig.Builder serviceAccountRoleArn(String serviceAccountRoleArn)
Sets the value ofEksAddonConfig.getServiceAccountRoleArn()- Parameters:
serviceAccountRoleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#service_account_role_arn EksAddon#service_account_role_arn}.- Returns:
this
-
tags
@Stability(Stable) public EksAddonConfig.Builder tags(Map<String,String> tags)
Sets the value ofEksAddonConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#tags EksAddon#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public EksAddonConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofEksAddonConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#tags_all EksAddon#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public EksAddonConfig.Builder timeouts(EksAddonTimeouts timeouts)
Sets the value ofEksAddonConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_addon#timeouts EksAddon#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public EksAddonConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public EksAddonConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public EksAddonConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public EksAddonConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public EksAddonConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public EksAddonConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public EksAddonConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public EksAddonConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public EksAddonConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public EksAddonConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EksAddonConfig>- Returns:
- a new instance of
EksAddonConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-