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