Class LbAccessLogs.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • bucket

        @Stability(Stable)
        public LbAccessLogs.Builder bucket​(String bucket)
        Sets the value of LbAccessLogs.getBucket()
        Parameters:
        bucket - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lb#bucket Lb#bucket}. This parameter is required.
        Returns:
        this
      • enabled

        @Stability(Stable)
        public LbAccessLogs.Builder enabled​(Boolean enabled)
        Sets the value of LbAccessLogs.getEnabled()
        Parameters:
        enabled - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lb#enabled Lb#enabled}.
        Returns:
        this
      • enabled

        @Stability(Stable)
        public LbAccessLogs.Builder enabled​(com.hashicorp.cdktf.IResolvable enabled)
        Sets the value of LbAccessLogs.getEnabled()
        Parameters:
        enabled - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lb#enabled Lb#enabled}.
        Returns:
        this
      • prefix

        @Stability(Stable)
        public LbAccessLogs.Builder prefix​(String prefix)
        Sets the value of LbAccessLogs.getPrefix()
        Parameters:
        prefix - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lb#prefix Lb#prefix}.
        Returns:
        this
      • build

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