Class EksClusterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.eks_cluster.EksClusterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EksClusterConfig>
- Enclosing interface:
- EksClusterConfig
@Stability(Stable) public static final class EksClusterConfig.Builder extends Object implements software.amazon.jsii.Builder<EksClusterConfig>
A builder forEksClusterConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EksClusterConfigbuild()Builds the configured instance.EksClusterConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()EksClusterConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()EksClusterConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()EksClusterConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()EksClusterConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()EksClusterConfig.BuilderenabledClusterLogTypes(List<String> enabledClusterLogTypes)Sets the value ofEksClusterConfig.getEnabledClusterLogTypes()EksClusterConfig.BuilderencryptionConfig(EksClusterEncryptionConfig encryptionConfig)Sets the value ofEksClusterConfig.getEncryptionConfig()EksClusterConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()EksClusterConfig.Builderid(String id)Sets the value ofEksClusterConfig.getId()EksClusterConfig.BuilderkubernetesNetworkConfig(EksClusterKubernetesNetworkConfig kubernetesNetworkConfig)Sets the value ofEksClusterConfig.getKubernetesNetworkConfig()EksClusterConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()EksClusterConfig.Buildername(String name)Sets the value ofEksClusterConfig.getName()EksClusterConfig.BuilderoutpostConfig(EksClusterOutpostConfig outpostConfig)Sets the value ofEksClusterConfig.getOutpostConfig()EksClusterConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()EksClusterConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()EksClusterConfig.BuilderroleArn(String roleArn)Sets the value ofEksClusterConfig.getRoleArn()EksClusterConfig.Buildertags(Map<String,String> tags)Sets the value ofEksClusterConfig.getTags()EksClusterConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofEksClusterConfig.getTagsAll()EksClusterConfig.Buildertimeouts(EksClusterTimeouts timeouts)Sets the value ofEksClusterConfig.getTimeouts()EksClusterConfig.Builderversion(String version)Sets the value ofEksClusterConfig.getVersion()EksClusterConfig.BuildervpcConfig(EksClusterVpcConfig vpcConfig)Sets the value ofEksClusterConfig.getVpcConfig()
-
-
-
Method Detail
-
name
@Stability(Stable) public EksClusterConfig.Builder name(String name)
Sets the value ofEksClusterConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#name EksCluster#name}. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public EksClusterConfig.Builder roleArn(String roleArn)
Sets the value ofEksClusterConfig.getRoleArn()- Parameters:
roleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#role_arn EksCluster#role_arn}. This parameter is required.- Returns:
this
-
vpcConfig
@Stability(Stable) public EksClusterConfig.Builder vpcConfig(EksClusterVpcConfig vpcConfig)
Sets the value ofEksClusterConfig.getVpcConfig()- Parameters:
vpcConfig- vpc_config block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#vpc_config EksCluster#vpc_config}- Returns:
this
-
enabledClusterLogTypes
@Stability(Stable) public EksClusterConfig.Builder enabledClusterLogTypes(List<String> enabledClusterLogTypes)
Sets the value ofEksClusterConfig.getEnabledClusterLogTypes()- Parameters:
enabledClusterLogTypes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#enabled_cluster_log_types EksCluster#enabled_cluster_log_types}.- Returns:
this
-
encryptionConfig
@Stability(Stable) public EksClusterConfig.Builder encryptionConfig(EksClusterEncryptionConfig encryptionConfig)
Sets the value ofEksClusterConfig.getEncryptionConfig()- Parameters:
encryptionConfig- encryption_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#encryption_config EksCluster#encryption_config}- Returns:
this
-
id
@Stability(Stable) public EksClusterConfig.Builder id(String id)
Sets the value ofEksClusterConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#id EksCluster#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
-
kubernetesNetworkConfig
@Stability(Stable) public EksClusterConfig.Builder kubernetesNetworkConfig(EksClusterKubernetesNetworkConfig kubernetesNetworkConfig)
Sets the value ofEksClusterConfig.getKubernetesNetworkConfig()- Parameters:
kubernetesNetworkConfig- kubernetes_network_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#kubernetes_network_config EksCluster#kubernetes_network_config}- Returns:
this
-
outpostConfig
@Stability(Stable) public EksClusterConfig.Builder outpostConfig(EksClusterOutpostConfig outpostConfig)
Sets the value ofEksClusterConfig.getOutpostConfig()- Parameters:
outpostConfig- outpost_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#outpost_config EksCluster#outpost_config}- Returns:
this
-
tags
@Stability(Stable) public EksClusterConfig.Builder tags(Map<String,String> tags)
Sets the value ofEksClusterConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#tags EksCluster#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public EksClusterConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofEksClusterConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#tags_all EksCluster#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public EksClusterConfig.Builder timeouts(EksClusterTimeouts timeouts)
Sets the value ofEksClusterConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#timeouts EksCluster#timeouts}- Returns:
this
-
version
@Stability(Stable) public EksClusterConfig.Builder version(String version)
Sets the value ofEksClusterConfig.getVersion()- Parameters:
version- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/eks_cluster#version EksCluster#version}.- Returns:
this
-
connection
@Stability(Experimental) public EksClusterConfig.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 EksClusterConfig.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 EksClusterConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public EksClusterConfig.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 EksClusterConfig.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 EksClusterConfig.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 EksClusterConfig.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 EksClusterConfig.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 EksClusterConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public EksClusterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EksClusterConfig>- Returns:
- a new instance of
EksClusterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-