Class DxLag.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<DxLag>
    Enclosing class:
    DxLag

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

      • create

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

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

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

        @Stability(Experimental)
        public DxLag.Builder count​(Number count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • count

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

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

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

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

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

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

        @Stability(Stable)
        public DxLag.Builder connectionsBandwidth​(String 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}.

        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 DxLag.Builder location​(String location)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#location DxLag#location}.

        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 DxLag.Builder name​(String name)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#name DxLag#name}.

        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 DxLag.Builder connectionId​(String 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}.

        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}. This parameter is required.
        Returns:
        this
      • forceDestroy

        @Stability(Stable)
        public DxLag.Builder forceDestroy​(Boolean 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}.

        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}. This parameter is required.
        Returns:
        this
      • forceDestroy

        @Stability(Stable)
        public DxLag.Builder forceDestroy​(com.hashicorp.cdktf.IResolvable 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}.

        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}. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public DxLag.Builder id​(String 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.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#id DxLag#id}. This parameter is required.
        Returns:
        this
      • providerName

        @Stability(Stable)
        public DxLag.Builder providerName​(String 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}.

        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}. This parameter is required.
        Returns:
        this
      • tags

        @Stability(Stable)
        public DxLag.Builder tags​(Map<String,​String> tags)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#tags DxLag#tags}.

        Parameters:
        tags - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dx_lag#tags DxLag#tags}. This parameter is required.
        Returns:
        this
      • tagsAll

        @Stability(Stable)
        public DxLag.Builder tagsAll​(Map<String,​String> 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}.

        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}. This parameter is required.
        Returns:
        this
      • build

        @Stability(Stable)
        public DxLag build()
        Specified by:
        build in interface software.amazon.jsii.Builder<DxLag>
        Returns:
        a newly built instance of DxLag.