Class VmwareenginePrivateCloudConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • location

        @Stability(Stable)
        public VmwareenginePrivateCloudConfig.Builder location​(String location)
        Parameters:
        location - The location where the PrivateCloud should reside. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#location VmwareenginePrivateCloud#location}
        Returns:
        this
      • name

        @Stability(Stable)
        public VmwareenginePrivateCloudConfig.Builder name​(String name)
        Parameters:
        name - The ID of the PrivateCloud. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/vmwareengine_private_cloud#name VmwareenginePrivateCloud#name}
        Returns:
        this
      • deletionDelayHours

        @Stability(Stable)
        public VmwareenginePrivateCloudConfig.Builder deletionDelayHours​(Number deletionDelayHours)
        Parameters:
        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}
        Returns:
        this
      • description

        @Stability(Stable)
        public VmwareenginePrivateCloudConfig.Builder description​(String description)
        Parameters:
        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}
        Returns:
        this
      • id

        @Stability(Stable)
        public VmwareenginePrivateCloudConfig.Builder id​(String id)
        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}. 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
      • sendDeletionDelayHoursIfZero

        @Stability(Stable)
        public VmwareenginePrivateCloudConfig.Builder sendDeletionDelayHoursIfZero​(Boolean sendDeletionDelayHoursIfZero)
        Parameters:
        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}
        Returns:
        this
      • sendDeletionDelayHoursIfZero

        @Stability(Stable)
        public VmwareenginePrivateCloudConfig.Builder sendDeletionDelayHoursIfZero​(com.hashicorp.cdktf.IResolvable sendDeletionDelayHoursIfZero)
        Parameters:
        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}
        Returns:
        this
      • type

        @Stability(Stable)
        public VmwareenginePrivateCloudConfig.Builder type​(String type)
        Parameters:
        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}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public VmwareenginePrivateCloudConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public VmwareenginePrivateCloudConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public VmwareenginePrivateCloudConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public VmwareenginePrivateCloudConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public VmwareenginePrivateCloudConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public VmwareenginePrivateCloudConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public VmwareenginePrivateCloudConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public VmwareenginePrivateCloudConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this