Class VmwareenginePrivateCloud.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.vmwareengine_private_cloud.VmwareenginePrivateCloud.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VmwareenginePrivateCloud>
- Enclosing class:
- VmwareenginePrivateCloud
@Stability(Stable) public static final class VmwareenginePrivateCloud.Builder extends Object implements software.amazon.jsii.Builder<VmwareenginePrivateCloud>
A fluent builder forVmwareenginePrivateCloud.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VmwareenginePrivateCloudbuild()VmwareenginePrivateCloud.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)VmwareenginePrivateCloud.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)VmwareenginePrivateCloud.Buildercount(com.hashicorp.cdktf.TerraformCount count)VmwareenginePrivateCloud.Buildercount(Number count)static VmwareenginePrivateCloud.Buildercreate(software.constructs.Construct scope, String id)VmwareenginePrivateCloud.BuilderdeletionDelayHours(Number deletionDelayHours)The number of hours to delay this request.VmwareenginePrivateCloud.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)VmwareenginePrivateCloud.Builderdescription(String description)User-provided description for this private cloud.VmwareenginePrivateCloud.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)VmwareenginePrivateCloud.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#id VmwareenginePrivateCloud#id}.VmwareenginePrivateCloud.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)VmwareenginePrivateCloud.Builderlocation(String location)The location where the PrivateCloud should reside.VmwareenginePrivateCloud.BuildermanagementCluster(VmwareenginePrivateCloudManagementCluster managementCluster)management_cluster block.VmwareenginePrivateCloud.Buildername(String name)The ID of the PrivateCloud.VmwareenginePrivateCloud.BuildernetworkConfig(VmwareenginePrivateCloudNetworkConfig networkConfig)network_config block.VmwareenginePrivateCloud.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#project VmwareenginePrivateCloud#project}.VmwareenginePrivateCloud.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)VmwareenginePrivateCloud.Builderprovisioners(List<? extends Object> provisioners)VmwareenginePrivateCloud.BuildersendDeletionDelayHoursIfZero(com.hashicorp.cdktf.IResolvable sendDeletionDelayHoursIfZero)While set true, deletion_delay_hours value will be sent in the request even for zero value of the field.VmwareenginePrivateCloud.BuildersendDeletionDelayHoursIfZero(Boolean sendDeletionDelayHoursIfZero)While set true, deletion_delay_hours value will be sent in the request even for zero value of the field.VmwareenginePrivateCloud.Buildertimeouts(VmwareenginePrivateCloudTimeouts timeouts)timeouts block.VmwareenginePrivateCloud.Buildertype(String type)Initial type of the private cloud.
-
-
-
Method Detail
-
create
@Stability(Stable) public static VmwareenginePrivateCloud.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
VmwareenginePrivateCloud.Builder.
-
connection
@Stability(Experimental) public VmwareenginePrivateCloud.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public VmwareenginePrivateCloud.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public VmwareenginePrivateCloud.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public VmwareenginePrivateCloud.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public VmwareenginePrivateCloud.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public VmwareenginePrivateCloud.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public VmwareenginePrivateCloud.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public VmwareenginePrivateCloud.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public VmwareenginePrivateCloud.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
location
@Stability(Stable) public VmwareenginePrivateCloud.Builder location(String location)
The location where the PrivateCloud should reside.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#location VmwareenginePrivateCloud#location}
- Parameters:
location- The location where the PrivateCloud should reside. This parameter is required.- Returns:
this
-
managementCluster
@Stability(Stable) public VmwareenginePrivateCloud.Builder managementCluster(VmwareenginePrivateCloudManagementCluster managementCluster)
management_cluster block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#management_cluster VmwareenginePrivateCloud#management_cluster}
- Parameters:
managementCluster- management_cluster block. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public VmwareenginePrivateCloud.Builder name(String name)
The ID of the PrivateCloud.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#name VmwareenginePrivateCloud#name}
- Parameters:
name- The ID of the PrivateCloud. This parameter is required.- Returns:
this
-
networkConfig
@Stability(Stable) public VmwareenginePrivateCloud.Builder networkConfig(VmwareenginePrivateCloudNetworkConfig networkConfig)
network_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#network_config VmwareenginePrivateCloud#network_config}
- Parameters:
networkConfig- network_config block. This parameter is required.- Returns:
this
-
deletionDelayHours
@Stability(Stable) public VmwareenginePrivateCloud.Builder deletionDelayHours(Number deletionDelayHours)
The number of hours to delay this request.You can set this value to an hour between 0 to 8, where setting it to 0 starts the deletion request immediately. If no value is set, a default value is set at the API Level. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#deletion_delay_hours VmwareenginePrivateCloud#deletion_delay_hours}
- Parameters:
deletionDelayHours- The number of hours to delay this request. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public VmwareenginePrivateCloud.Builder description(String description)
User-provided description for this private cloud.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#description VmwareenginePrivateCloud#description}
- Parameters:
description- User-provided description for this private cloud. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public VmwareenginePrivateCloud.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#id VmwareenginePrivateCloud#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/vmwareengine_private_cloud#id VmwareenginePrivateCloud#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public VmwareenginePrivateCloud.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#project VmwareenginePrivateCloud#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#project VmwareenginePrivateCloud#project}. This parameter is required.- Returns:
this
-
sendDeletionDelayHoursIfZero
@Stability(Stable) public VmwareenginePrivateCloud.Builder sendDeletionDelayHoursIfZero(Boolean sendDeletionDelayHoursIfZero)
While set true, deletion_delay_hours value will be sent in the request even for zero value of the field.This field is only useful for setting 0 value to the deletion_delay_hours field. It can be used both alone and together with deletion_delay_hours. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#send_deletion_delay_hours_if_zero VmwareenginePrivateCloud#send_deletion_delay_hours_if_zero}
- Parameters:
sendDeletionDelayHoursIfZero- While set true, deletion_delay_hours value will be sent in the request even for zero value of the field. This parameter is required.- Returns:
this
-
sendDeletionDelayHoursIfZero
@Stability(Stable) public VmwareenginePrivateCloud.Builder sendDeletionDelayHoursIfZero(com.hashicorp.cdktf.IResolvable sendDeletionDelayHoursIfZero)
While set true, deletion_delay_hours value will be sent in the request even for zero value of the field.This field is only useful for setting 0 value to the deletion_delay_hours field. It can be used both alone and together with deletion_delay_hours. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#send_deletion_delay_hours_if_zero VmwareenginePrivateCloud#send_deletion_delay_hours_if_zero}
- Parameters:
sendDeletionDelayHoursIfZero- While set true, deletion_delay_hours value will be sent in the request even for zero value of the field. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public VmwareenginePrivateCloud.Builder timeouts(VmwareenginePrivateCloudTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#timeouts VmwareenginePrivateCloud#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
type
@Stability(Stable) public VmwareenginePrivateCloud.Builder type(String type)
Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#type VmwareenginePrivateCloud#type}
- Parameters:
type- Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public VmwareenginePrivateCloud build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VmwareenginePrivateCloud>- Returns:
- a newly built instance of
VmwareenginePrivateCloud.
-
-