Class MemorydbParameterGroupConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.memorydb_parameter_group.MemorydbParameterGroupConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MemorydbParameterGroupConfig>
- Enclosing interface:
- MemorydbParameterGroupConfig
@Stability(Stable) public static final class MemorydbParameterGroupConfig.Builder extends Object implements software.amazon.jsii.Builder<MemorydbParameterGroupConfig>
A builder forMemorydbParameterGroupConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemorydbParameterGroupConfigbuild()Builds the configured instance.MemorydbParameterGroupConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()MemorydbParameterGroupConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()MemorydbParameterGroupConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()MemorydbParameterGroupConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()MemorydbParameterGroupConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()MemorydbParameterGroupConfig.Builderdescription(String description)Sets the value ofMemorydbParameterGroupConfig.getDescription()MemorydbParameterGroupConfig.Builderfamily(String family)Sets the value ofMemorydbParameterGroupConfig.getFamily()MemorydbParameterGroupConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()MemorydbParameterGroupConfig.Builderid(String id)Sets the value ofMemorydbParameterGroupConfig.getId()MemorydbParameterGroupConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()MemorydbParameterGroupConfig.Buildername(String name)Sets the value ofMemorydbParameterGroupConfig.getName()MemorydbParameterGroupConfig.BuildernamePrefix(String namePrefix)Sets the value ofMemorydbParameterGroupConfig.getNamePrefix()MemorydbParameterGroupConfig.Builderparameter(com.hashicorp.cdktf.IResolvable parameter)Sets the value ofMemorydbParameterGroupConfig.getParameter()MemorydbParameterGroupConfig.Builderparameter(List<? extends MemorydbParameterGroupParameter> parameter)Sets the value ofMemorydbParameterGroupConfig.getParameter()MemorydbParameterGroupConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()MemorydbParameterGroupConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()MemorydbParameterGroupConfig.Buildertags(Map<String,String> tags)Sets the value ofMemorydbParameterGroupConfig.getTags()MemorydbParameterGroupConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofMemorydbParameterGroupConfig.getTagsAll()
-
-
-
Method Detail
-
family
@Stability(Stable) public MemorydbParameterGroupConfig.Builder family(String family)
Sets the value ofMemorydbParameterGroupConfig.getFamily()- Parameters:
family- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/memorydb_parameter_group#family MemorydbParameterGroup#family}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public MemorydbParameterGroupConfig.Builder description(String description)
Sets the value ofMemorydbParameterGroupConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/memorydb_parameter_group#description MemorydbParameterGroup#description}.- Returns:
this
-
id
@Stability(Stable) public MemorydbParameterGroupConfig.Builder id(String id)
Sets the value ofMemorydbParameterGroupConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/memorydb_parameter_group#id MemorydbParameterGroup#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
-
name
@Stability(Stable) public MemorydbParameterGroupConfig.Builder name(String name)
Sets the value ofMemorydbParameterGroupConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/memorydb_parameter_group#name MemorydbParameterGroup#name}.- Returns:
this
-
namePrefix
@Stability(Stable) public MemorydbParameterGroupConfig.Builder namePrefix(String namePrefix)
Sets the value ofMemorydbParameterGroupConfig.getNamePrefix()- Parameters:
namePrefix- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/memorydb_parameter_group#name_prefix MemorydbParameterGroup#name_prefix}.- Returns:
this
-
parameter
@Stability(Stable) public MemorydbParameterGroupConfig.Builder parameter(com.hashicorp.cdktf.IResolvable parameter)
Sets the value ofMemorydbParameterGroupConfig.getParameter()- Parameters:
parameter- parameter block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/memorydb_parameter_group#parameter MemorydbParameterGroup#parameter}- Returns:
this
-
parameter
@Stability(Stable) public MemorydbParameterGroupConfig.Builder parameter(List<? extends MemorydbParameterGroupParameter> parameter)
Sets the value ofMemorydbParameterGroupConfig.getParameter()- Parameters:
parameter- parameter block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/memorydb_parameter_group#parameter MemorydbParameterGroup#parameter}- Returns:
this
-
tags
@Stability(Stable) public MemorydbParameterGroupConfig.Builder tags(Map<String,String> tags)
Sets the value ofMemorydbParameterGroupConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/memorydb_parameter_group#tags MemorydbParameterGroup#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public MemorydbParameterGroupConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofMemorydbParameterGroupConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/memorydb_parameter_group#tags_all MemorydbParameterGroup#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public MemorydbParameterGroupConfig.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 MemorydbParameterGroupConfig.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 MemorydbParameterGroupConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public MemorydbParameterGroupConfig.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 MemorydbParameterGroupConfig.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 MemorydbParameterGroupConfig.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 MemorydbParameterGroupConfig.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 MemorydbParameterGroupConfig.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 MemorydbParameterGroupConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public MemorydbParameterGroupConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MemorydbParameterGroupConfig>- Returns:
- a new instance of
MemorydbParameterGroupConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-