Class RdsClusterEndpointConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.rds_cluster_endpoint.RdsClusterEndpointConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<RdsClusterEndpointConfig>
- Enclosing interface:
- RdsClusterEndpointConfig
@Stability(Stable) public static final class RdsClusterEndpointConfig.Builder extends Object implements software.amazon.jsii.Builder<RdsClusterEndpointConfig>
A builder forRdsClusterEndpointConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RdsClusterEndpointConfigbuild()Builds the configured instance.RdsClusterEndpointConfig.BuilderclusterEndpointIdentifier(String clusterEndpointIdentifier)Sets the value ofRdsClusterEndpointConfig.getClusterEndpointIdentifier()RdsClusterEndpointConfig.BuilderclusterIdentifier(String clusterIdentifier)Sets the value ofRdsClusterEndpointConfig.getClusterIdentifier()RdsClusterEndpointConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()RdsClusterEndpointConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()RdsClusterEndpointConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()RdsClusterEndpointConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()RdsClusterEndpointConfig.BuildercustomEndpointType(String customEndpointType)Sets the value ofRdsClusterEndpointConfig.getCustomEndpointType()RdsClusterEndpointConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()RdsClusterEndpointConfig.BuilderexcludedMembers(List<String> excludedMembers)Sets the value ofRdsClusterEndpointConfig.getExcludedMembers()RdsClusterEndpointConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()RdsClusterEndpointConfig.Builderid(String id)Sets the value ofRdsClusterEndpointConfig.getId()RdsClusterEndpointConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()RdsClusterEndpointConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()RdsClusterEndpointConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()RdsClusterEndpointConfig.BuilderstaticMembers(List<String> staticMembers)Sets the value ofRdsClusterEndpointConfig.getStaticMembers()RdsClusterEndpointConfig.Buildertags(Map<String,String> tags)Sets the value ofRdsClusterEndpointConfig.getTags()RdsClusterEndpointConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofRdsClusterEndpointConfig.getTagsAll()
-
-
-
Method Detail
-
clusterEndpointIdentifier
@Stability(Stable) public RdsClusterEndpointConfig.Builder clusterEndpointIdentifier(String clusterEndpointIdentifier)
Sets the value ofRdsClusterEndpointConfig.getClusterEndpointIdentifier()- Parameters:
clusterEndpointIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster_endpoint#cluster_endpoint_identifier RdsClusterEndpoint#cluster_endpoint_identifier}. This parameter is required.- Returns:
this
-
clusterIdentifier
@Stability(Stable) public RdsClusterEndpointConfig.Builder clusterIdentifier(String clusterIdentifier)
Sets the value ofRdsClusterEndpointConfig.getClusterIdentifier()- Parameters:
clusterIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster_endpoint#cluster_identifier RdsClusterEndpoint#cluster_identifier}. This parameter is required.- Returns:
this
-
customEndpointType
@Stability(Stable) public RdsClusterEndpointConfig.Builder customEndpointType(String customEndpointType)
Sets the value ofRdsClusterEndpointConfig.getCustomEndpointType()- Parameters:
customEndpointType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster_endpoint#custom_endpoint_type RdsClusterEndpoint#custom_endpoint_type}. This parameter is required.- Returns:
this
-
excludedMembers
@Stability(Stable) public RdsClusterEndpointConfig.Builder excludedMembers(List<String> excludedMembers)
Sets the value ofRdsClusterEndpointConfig.getExcludedMembers()- Parameters:
excludedMembers- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster_endpoint#excluded_members RdsClusterEndpoint#excluded_members}.- Returns:
this
-
id
@Stability(Stable) public RdsClusterEndpointConfig.Builder id(String id)
Sets the value ofRdsClusterEndpointConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster_endpoint#id RdsClusterEndpoint#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
-
staticMembers
@Stability(Stable) public RdsClusterEndpointConfig.Builder staticMembers(List<String> staticMembers)
Sets the value ofRdsClusterEndpointConfig.getStaticMembers()- Parameters:
staticMembers- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster_endpoint#static_members RdsClusterEndpoint#static_members}.- Returns:
this
-
tags
@Stability(Stable) public RdsClusterEndpointConfig.Builder tags(Map<String,String> tags)
Sets the value ofRdsClusterEndpointConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster_endpoint#tags RdsClusterEndpoint#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public RdsClusterEndpointConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofRdsClusterEndpointConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster_endpoint#tags_all RdsClusterEndpoint#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public RdsClusterEndpointConfig.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 RdsClusterEndpointConfig.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 RdsClusterEndpointConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public RdsClusterEndpointConfig.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 RdsClusterEndpointConfig.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 RdsClusterEndpointConfig.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 RdsClusterEndpointConfig.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 RdsClusterEndpointConfig.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 RdsClusterEndpointConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public RdsClusterEndpointConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RdsClusterEndpointConfig>- Returns:
- a new instance of
RdsClusterEndpointConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-