Class DxLagConfig.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<DxLagConfig>
    Enclosing interface:
    DxLagConfig

    @Stability(Stable)
    public static final class DxLagConfig.Builder
    extends Object
    implements software.amazon.jsii.Builder<DxLagConfig>
    A builder for DxLagConfig
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • connectionsBandwidth

        @Stability(Stable)
        public DxLagConfig.Builder connectionsBandwidth​(String connectionsBandwidth)
        Parameters:
        connectionsBandwidth - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#connections_bandwidth DxLag#connections_bandwidth}. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public DxLagConfig.Builder location​(String location)
        Sets the value of DxLagConfig.getLocation()
        Parameters:
        location - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#location DxLag#location}. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public DxLagConfig.Builder name​(String name)
        Sets the value of DxLagConfig.getName()
        Parameters:
        name - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#name DxLag#name}. This parameter is required.
        Returns:
        this
      • connectionId

        @Stability(Stable)
        public DxLagConfig.Builder connectionId​(String connectionId)
        Parameters:
        connectionId - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#connection_id DxLag#connection_id}.
        Returns:
        this
      • forceDestroy

        @Stability(Stable)
        public DxLagConfig.Builder forceDestroy​(Boolean forceDestroy)
        Parameters:
        forceDestroy - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#force_destroy DxLag#force_destroy}.
        Returns:
        this
      • forceDestroy

        @Stability(Stable)
        public DxLagConfig.Builder forceDestroy​(com.hashicorp.cdktf.IResolvable forceDestroy)
        Parameters:
        forceDestroy - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#force_destroy DxLag#force_destroy}.
        Returns:
        this
      • id

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

        @Stability(Stable)
        public DxLagConfig.Builder providerName​(String providerName)
        Parameters:
        providerName - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#provider_name DxLag#provider_name}.
        Returns:
        this
      • tags

        @Stability(Stable)
        public DxLagConfig.Builder tags​(Map<String,​String> tags)
        Sets the value of DxLagConfig.getTags()
        Parameters:
        tags - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#tags DxLag#tags}.
        Returns:
        this
      • tagsAll

        @Stability(Stable)
        public DxLagConfig.Builder tagsAll​(Map<String,​String> tagsAll)
        Sets the value of DxLagConfig.getTagsAll()
        Parameters:
        tagsAll - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#tags_all DxLag#tags_all}.
        Returns:
        this
      • connection

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

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

        @Stability(Stable)
        public DxLagConfig build()
        Builds the configured instance.
        Specified by:
        build in interface software.amazon.jsii.Builder<DxLagConfig>
        Returns:
        a new instance of DxLagConfig
        Throws:
        NullPointerException - if any required attribute was not provided