Class ComputeSharedVpcServiceProject.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_shared_vpc_service_project.ComputeSharedVpcServiceProject.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeSharedVpcServiceProject>
- Enclosing class:
- ComputeSharedVpcServiceProject
@Stability(Stable) public static final class ComputeSharedVpcServiceProject.Builder extends Object implements software.amazon.jsii.Builder<ComputeSharedVpcServiceProject>
A fluent builder forComputeSharedVpcServiceProject.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeSharedVpcServiceProjectbuild()ComputeSharedVpcServiceProject.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ComputeSharedVpcServiceProject.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ComputeSharedVpcServiceProject.Buildercount(com.hashicorp.cdktf.TerraformCount count)ComputeSharedVpcServiceProject.Buildercount(Number count)static ComputeSharedVpcServiceProject.Buildercreate(software.constructs.Construct scope, String id)ComputeSharedVpcServiceProject.BuilderdeletionPolicy(String deletionPolicy)The deletion policy for the shared VPC service.ComputeSharedVpcServiceProject.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ComputeSharedVpcServiceProject.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ComputeSharedVpcServiceProject.BuilderhostProject(String hostProject)The ID of a host project to associate.ComputeSharedVpcServiceProject.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_shared_vpc_service_project#id ComputeSharedVpcServiceProject#id}.ComputeSharedVpcServiceProject.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ComputeSharedVpcServiceProject.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ComputeSharedVpcServiceProject.Builderprovisioners(List<? extends Object> provisioners)ComputeSharedVpcServiceProject.BuilderserviceProject(String serviceProject)The ID of the project that will serve as a Shared VPC service project.ComputeSharedVpcServiceProject.Buildertimeouts(ComputeSharedVpcServiceProjectTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ComputeSharedVpcServiceProject.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
ComputeSharedVpcServiceProject.Builder.
-
connection
@Stability(Experimental) public ComputeSharedVpcServiceProject.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ComputeSharedVpcServiceProject.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ComputeSharedVpcServiceProject.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ComputeSharedVpcServiceProject.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ComputeSharedVpcServiceProject.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ComputeSharedVpcServiceProject.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ComputeSharedVpcServiceProject.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ComputeSharedVpcServiceProject.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ComputeSharedVpcServiceProject.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
hostProject
@Stability(Stable) public ComputeSharedVpcServiceProject.Builder hostProject(String hostProject)
The ID of a host project to associate.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_shared_vpc_service_project#host_project ComputeSharedVpcServiceProject#host_project}
- Parameters:
hostProject- The ID of a host project to associate. This parameter is required.- Returns:
this
-
serviceProject
@Stability(Stable) public ComputeSharedVpcServiceProject.Builder serviceProject(String serviceProject)
The ID of the project that will serve as a Shared VPC service project.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_shared_vpc_service_project#service_project ComputeSharedVpcServiceProject#service_project}
- Parameters:
serviceProject- The ID of the project that will serve as a Shared VPC service project. This parameter is required.- Returns:
this
-
deletionPolicy
@Stability(Stable) public ComputeSharedVpcServiceProject.Builder deletionPolicy(String deletionPolicy)
The deletion policy for the shared VPC service.Setting ABANDON allows the resource to be abandoned rather than deleted. Possible values are: "ABANDON". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_shared_vpc_service_project#deletion_policy ComputeSharedVpcServiceProject#deletion_policy}
- Parameters:
deletionPolicy- The deletion policy for the shared VPC service. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ComputeSharedVpcServiceProject.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_shared_vpc_service_project#id ComputeSharedVpcServiceProject#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/compute_shared_vpc_service_project#id ComputeSharedVpcServiceProject#id}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public ComputeSharedVpcServiceProject.Builder timeouts(ComputeSharedVpcServiceProjectTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_shared_vpc_service_project#timeouts ComputeSharedVpcServiceProject#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ComputeSharedVpcServiceProject build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeSharedVpcServiceProject>- Returns:
- a newly built instance of
ComputeSharedVpcServiceProject.
-
-