Class ApphubServiceProjectAttachment.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apphub_service_project_attachment.ApphubServiceProjectAttachment.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApphubServiceProjectAttachment>
- Enclosing class:
- ApphubServiceProjectAttachment
@Stability(Stable) public static final class ApphubServiceProjectAttachment.Builder extends Object implements software.amazon.jsii.Builder<ApphubServiceProjectAttachment>
A fluent builder forApphubServiceProjectAttachment.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApphubServiceProjectAttachmentbuild()ApphubServiceProjectAttachment.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ApphubServiceProjectAttachment.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ApphubServiceProjectAttachment.Buildercount(com.hashicorp.cdktf.TerraformCount count)ApphubServiceProjectAttachment.Buildercount(Number count)static ApphubServiceProjectAttachment.Buildercreate(software.constructs.Construct scope, String id)ApphubServiceProjectAttachment.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ApphubServiceProjectAttachment.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ApphubServiceProjectAttachment.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service_project_attachment#id ApphubServiceProjectAttachment#id}.ApphubServiceProjectAttachment.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ApphubServiceProjectAttachment.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service_project_attachment#project ApphubServiceProjectAttachment#project}.ApphubServiceProjectAttachment.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ApphubServiceProjectAttachment.Builderprovisioners(List<? extends Object> provisioners)ApphubServiceProjectAttachment.BuilderserviceProject(String serviceProject)"Immutable.ApphubServiceProjectAttachment.BuilderserviceProjectAttachmentId(String serviceProjectAttachmentId)Required.ApphubServiceProjectAttachment.Buildertimeouts(ApphubServiceProjectAttachmentTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ApphubServiceProjectAttachment.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
ApphubServiceProjectAttachment.Builder.
-
connection
@Stability(Experimental) public ApphubServiceProjectAttachment.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ApphubServiceProjectAttachment.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ApphubServiceProjectAttachment.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ApphubServiceProjectAttachment.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ApphubServiceProjectAttachment.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ApphubServiceProjectAttachment.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ApphubServiceProjectAttachment.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ApphubServiceProjectAttachment.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ApphubServiceProjectAttachment.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
serviceProjectAttachmentId
@Stability(Stable) public ApphubServiceProjectAttachment.Builder serviceProjectAttachmentId(String serviceProjectAttachmentId)
Required.The service project attachment identifier must contain the project_id of the service project specified in the service_project_attachment.service_project field. Hint: "projects/{project_id}" Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service_project_attachment#service_project_attachment_id ApphubServiceProjectAttachment#service_project_attachment_id}
- Parameters:
serviceProjectAttachmentId- Required. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ApphubServiceProjectAttachment.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service_project_attachment#id ApphubServiceProjectAttachment#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service_project_attachment#id ApphubServiceProjectAttachment#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public ApphubServiceProjectAttachment.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service_project_attachment#project ApphubServiceProjectAttachment#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service_project_attachment#project ApphubServiceProjectAttachment#project}. This parameter is required.- Returns:
this
-
serviceProject
@Stability(Stable) public ApphubServiceProjectAttachment.Builder serviceProject(String serviceProject)
"Immutable.Service project name in the format: "projects/abc" or "projects/123". As input, project name with either project id or number are accepted. As output, this field will contain project number." Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service_project_attachment#service_project ApphubServiceProjectAttachment#service_project}
- Parameters:
serviceProject- "Immutable. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public ApphubServiceProjectAttachment.Builder timeouts(ApphubServiceProjectAttachmentTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_service_project_attachment#timeouts ApphubServiceProjectAttachment#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ApphubServiceProjectAttachment build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApphubServiceProjectAttachment>- Returns:
- a newly built instance of
ApphubServiceProjectAttachment.
-
-