Class ComputeRouterNatLogConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • enable

        @Stability(Stable)
        public ComputeRouterNatLogConfig.Builder enable​(Boolean enable)
        Parameters:
        enable - Indicates whether or not to export logs. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#enable ComputeRouterNat#enable}
        Returns:
        this
      • enable

        @Stability(Stable)
        public ComputeRouterNatLogConfig.Builder enable​(com.hashicorp.cdktf.IResolvable enable)
        Parameters:
        enable - Indicates whether or not to export logs. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#enable ComputeRouterNat#enable}
        Returns:
        this
      • filter

        @Stability(Stable)
        public ComputeRouterNatLogConfig.Builder filter​(String filter)
        Parameters:
        filter - Specifies the desired filtering of logs on this NAT. Possible values: ["ERRORS_ONLY", "TRANSLATIONS_ONLY", "ALL"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_nat#filter ComputeRouterNat#filter}
        Returns:
        this