Class TransferUserConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • role

        @Stability(Stable)
        public TransferUserConfig.Builder role​(String role)
        Parameters:
        role - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_user#role TransferUser#role}. This parameter is required.
        Returns:
        this
      • serverId

        @Stability(Stable)
        public TransferUserConfig.Builder serverId​(String serverId)
        Parameters:
        serverId - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_user#server_id TransferUser#server_id}. This parameter is required.
        Returns:
        this
      • userName

        @Stability(Stable)
        public TransferUserConfig.Builder userName​(String userName)
        Parameters:
        userName - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_user#user_name TransferUser#user_name}. This parameter is required.
        Returns:
        this
      • homeDirectory

        @Stability(Stable)
        public TransferUserConfig.Builder homeDirectory​(String homeDirectory)
        Parameters:
        homeDirectory - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_user#home_directory TransferUser#home_directory}.
        Returns:
        this
      • homeDirectoryMappings

        @Stability(Stable)
        public TransferUserConfig.Builder homeDirectoryMappings​(com.hashicorp.cdktf.IResolvable homeDirectoryMappings)
        Parameters:
        homeDirectoryMappings - home_directory_mappings block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_user#home_directory_mappings TransferUser#home_directory_mappings}
        Returns:
        this
      • homeDirectoryType

        @Stability(Stable)
        public TransferUserConfig.Builder homeDirectoryType​(String homeDirectoryType)
        Parameters:
        homeDirectoryType - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_user#home_directory_type TransferUser#home_directory_type}.
        Returns:
        this
      • id

        @Stability(Stable)
        public TransferUserConfig.Builder id​(String id)
        Sets the value of TransferUserConfig.getId()
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_user#id TransferUser#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
      • policy

        @Stability(Stable)
        public TransferUserConfig.Builder policy​(String policy)
        Parameters:
        policy - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_user#policy TransferUser#policy}.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public TransferUserConfig.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 TransferUserConfig.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 TransferUserConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

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