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