Class ApphubServiceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apphub_service.ApphubServiceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApphubServiceConfig>
- Enclosing interface:
- ApphubServiceConfig
@Stability(Stable) public static final class ApphubServiceConfig.Builder extends Object implements software.amazon.jsii.Builder<ApphubServiceConfig>
A builder forApphubServiceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApphubServiceConfig.BuilderapplicationId(String applicationId)Sets the value ofApphubServiceConfig.getApplicationId()ApphubServiceConfig.Builderattributes(ApphubServiceAttributes attributes)Sets the value ofApphubServiceConfig.getAttributes()ApphubServiceConfigbuild()Builds the configured instance.ApphubServiceConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApphubServiceConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApphubServiceConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()ApphubServiceConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()ApphubServiceConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()ApphubServiceConfig.Builderdescription(String description)Sets the value ofApphubServiceConfig.getDescription()ApphubServiceConfig.BuilderdiscoveredService(String discoveredService)Sets the value ofApphubServiceConfig.getDiscoveredService()ApphubServiceConfig.BuilderdisplayName(String displayName)Sets the value ofApphubServiceConfig.getDisplayName()ApphubServiceConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()ApphubServiceConfig.Builderid(String id)Sets the value ofApphubServiceConfig.getId()ApphubServiceConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()ApphubServiceConfig.Builderlocation(String location)Sets the value ofApphubServiceConfig.getLocation()ApphubServiceConfig.Builderproject(String project)Sets the value ofApphubServiceConfig.getProject()ApphubServiceConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()ApphubServiceConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()ApphubServiceConfig.BuilderserviceId(String serviceId)Sets the value ofApphubServiceConfig.getServiceId()ApphubServiceConfig.Buildertimeouts(ApphubServiceTimeouts timeouts)Sets the value ofApphubServiceConfig.getTimeouts()
-
-
-
Method Detail
-
applicationId
@Stability(Stable) public ApphubServiceConfig.Builder applicationId(String applicationId)
Sets the value ofApphubServiceConfig.getApplicationId()- Parameters:
applicationId- Part of 'parent'. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service#application_id ApphubService#application_id}- Returns:
this
-
discoveredService
@Stability(Stable) public ApphubServiceConfig.Builder discoveredService(String discoveredService)
Sets the value ofApphubServiceConfig.getDiscoveredService()- Parameters:
discoveredService- Immutable. The resource name of the original discovered service. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service#discovered_service ApphubService#discovered_service}- Returns:
this
-
location
@Stability(Stable) public ApphubServiceConfig.Builder location(String location)
Sets the value ofApphubServiceConfig.getLocation()- Parameters:
location- Part of 'parent'. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service#location ApphubService#location}- Returns:
this
-
serviceId
@Stability(Stable) public ApphubServiceConfig.Builder serviceId(String serviceId)
Sets the value ofApphubServiceConfig.getServiceId()- Parameters:
serviceId- The Service identifier. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service#service_id ApphubService#service_id}- Returns:
this
-
attributes
@Stability(Stable) public ApphubServiceConfig.Builder attributes(ApphubServiceAttributes attributes)
Sets the value ofApphubServiceConfig.getAttributes()- Parameters:
attributes- attributes block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service#attributes ApphubService#attributes}- Returns:
this
-
description
@Stability(Stable) public ApphubServiceConfig.Builder description(String description)
Sets the value ofApphubServiceConfig.getDescription()- Parameters:
description- User-defined description of a Service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service#description ApphubService#description}- Returns:
this
-
displayName
@Stability(Stable) public ApphubServiceConfig.Builder displayName(String displayName)
Sets the value ofApphubServiceConfig.getDisplayName()- Parameters:
displayName- User-defined name for the Service. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service#display_name ApphubService#display_name}- Returns:
this
-
id
@Stability(Stable) public ApphubServiceConfig.Builder id(String id)
Sets the value ofApphubServiceConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service#id ApphubService#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 ApphubServiceConfig.Builder project(String project)
Sets the value ofApphubServiceConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service#project ApphubService#project}.- Returns:
this
-
timeouts
@Stability(Stable) public ApphubServiceConfig.Builder timeouts(ApphubServiceTimeouts timeouts)
Sets the value ofApphubServiceConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service#timeouts ApphubService#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ApphubServiceConfig.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 ApphubServiceConfig.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 ApphubServiceConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApphubServiceConfig.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 ApphubServiceConfig.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 ApphubServiceConfig.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 ApphubServiceConfig.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 ApphubServiceConfig.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 ApphubServiceConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ApphubServiceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApphubServiceConfig>- Returns:
- a new instance of
ApphubServiceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-