Class ApphubApplicationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apphub_application.ApphubApplicationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApphubApplicationConfig>
- Enclosing interface:
- ApphubApplicationConfig
@Stability(Stable) public static final class ApphubApplicationConfig.Builder extends Object implements software.amazon.jsii.Builder<ApphubApplicationConfig>
A builder forApphubApplicationConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApphubApplicationConfig.BuilderapplicationId(String applicationId)Sets the value ofApphubApplicationConfig.getApplicationId()ApphubApplicationConfig.Builderattributes(ApphubApplicationAttributes attributes)Sets the value ofApphubApplicationConfig.getAttributes()ApphubApplicationConfigbuild()Builds the configured instance.ApphubApplicationConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApphubApplicationConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApphubApplicationConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()ApphubApplicationConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()ApphubApplicationConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()ApphubApplicationConfig.Builderdescription(String description)Sets the value ofApphubApplicationConfig.getDescription()ApphubApplicationConfig.BuilderdisplayName(String displayName)Sets the value ofApphubApplicationConfig.getDisplayName()ApphubApplicationConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()ApphubApplicationConfig.Builderid(String id)Sets the value ofApphubApplicationConfig.getId()ApphubApplicationConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()ApphubApplicationConfig.Builderlocation(String location)Sets the value ofApphubApplicationConfig.getLocation()ApphubApplicationConfig.Builderproject(String project)Sets the value ofApphubApplicationConfig.getProject()ApphubApplicationConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()ApphubApplicationConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()ApphubApplicationConfig.Builderscope(ApphubApplicationScope scope)Sets the value ofApphubApplicationConfig.getScope()ApphubApplicationConfig.Buildertimeouts(ApphubApplicationTimeouts timeouts)Sets the value ofApphubApplicationConfig.getTimeouts()
-
-
-
Method Detail
-
applicationId
@Stability(Stable) public ApphubApplicationConfig.Builder applicationId(String applicationId)
Sets the value ofApphubApplicationConfig.getApplicationId()- Parameters:
applicationId- Required. The Application identifier. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_application#application_id ApphubApplication#application_id}- Returns:
this
-
location
@Stability(Stable) public ApphubApplicationConfig.Builder location(String location)
Sets the value ofApphubApplicationConfig.getLocation()- Parameters:
location- Part of 'parent'. See documentation of 'projectsId'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_application#location ApphubApplication#location}- Returns:
this
-
scope
@Stability(Stable) public ApphubApplicationConfig.Builder scope(ApphubApplicationScope scope)
Sets the value ofApphubApplicationConfig.getScope()- Parameters:
scope- scope block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_application#scope ApphubApplication#scope}- Returns:
this
-
attributes
@Stability(Stable) public ApphubApplicationConfig.Builder attributes(ApphubApplicationAttributes attributes)
Sets the value ofApphubApplicationConfig.getAttributes()- Parameters:
attributes- attributes block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_application#attributes ApphubApplication#attributes}- Returns:
this
-
description
@Stability(Stable) public ApphubApplicationConfig.Builder description(String description)
Sets the value ofApphubApplicationConfig.getDescription()- Parameters:
description- Optional. User-defined description of an Application. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_application#description ApphubApplication#description}- Returns:
this
-
displayName
@Stability(Stable) public ApphubApplicationConfig.Builder displayName(String displayName)
Sets the value ofApphubApplicationConfig.getDisplayName()- Parameters:
displayName- Optional. User-defined name for the Application. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_application#display_name ApphubApplication#display_name}- Returns:
this
-
id
@Stability(Stable) public ApphubApplicationConfig.Builder id(String id)
Sets the value ofApphubApplicationConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_application#id ApphubApplication#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
-
project
@Stability(Stable) public ApphubApplicationConfig.Builder project(String project)
Sets the value ofApphubApplicationConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_application#project ApphubApplication#project}.- Returns:
this
-
timeouts
@Stability(Stable) public ApphubApplicationConfig.Builder timeouts(ApphubApplicationTimeouts timeouts)
Sets the value ofApphubApplicationConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_application#timeouts ApphubApplication#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ApphubApplicationConfig.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 ApphubApplicationConfig.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 ApphubApplicationConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApphubApplicationConfig.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 ApphubApplicationConfig.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 ApphubApplicationConfig.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 ApphubApplicationConfig.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 ApphubApplicationConfig.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 ApphubApplicationConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ApphubApplicationConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApphubApplicationConfig>- Returns:
- a new instance of
ApphubApplicationConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-