Class StorageManagedFolder.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static StorageManagedFolder.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 StorageManagedFolder.Builder.
      • connection

        @Stability(Experimental)
        public StorageManagedFolder.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public StorageManagedFolder.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public StorageManagedFolder.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public StorageManagedFolder.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public StorageManagedFolder.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public StorageManagedFolder.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public StorageManagedFolder.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public StorageManagedFolder.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • bucket

        @Stability(Stable)
        public StorageManagedFolder.Builder bucket​(String bucket)
        The name of the bucket that contains the managed folder.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_managed_folder#bucket StorageManagedFolder#bucket}

        Parameters:
        bucket - The name of the bucket that contains the managed folder. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public StorageManagedFolder.Builder name​(String name)
        The name of the managed folder expressed as a path. Must include trailing '/'. For example, 'example_dir/example_dir2/'.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_managed_folder#name StorageManagedFolder#name}

        Parameters:
        name - The name of the managed folder expressed as a path. Must include trailing '/'. For example, 'example_dir/example_dir2/'. This parameter is required.
        Returns:
        this
      • forceDestroy

        @Stability(Stable)
        public StorageManagedFolder.Builder forceDestroy​(Boolean forceDestroy)
        Allows the deletion of a managed folder even if contains objects.

        If a non-empty managed folder is deleted, any objects within the folder will remain in a simulated folder with the same name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_managed_folder#force_destroy StorageManagedFolder#force_destroy}

        Parameters:
        forceDestroy - Allows the deletion of a managed folder even if contains objects. This parameter is required.
        Returns:
        this
      • forceDestroy

        @Stability(Stable)
        public StorageManagedFolder.Builder forceDestroy​(com.hashicorp.cdktf.IResolvable forceDestroy)
        Allows the deletion of a managed folder even if contains objects.

        If a non-empty managed folder is deleted, any objects within the folder will remain in a simulated folder with the same name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_managed_folder#force_destroy StorageManagedFolder#force_destroy}

        Parameters:
        forceDestroy - Allows the deletion of a managed folder even if contains objects. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public StorageManagedFolder.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_managed_folder#id StorageManagedFolder#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/storage_managed_folder#id StorageManagedFolder#id}. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public StorageManagedFolder.Builder timeouts​(StorageManagedFolderTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_managed_folder#timeouts StorageManagedFolder#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this