Class AlloydbInstanceQueryInsightsConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • queryPlansPerMinute

        @Stability(Stable)
        public AlloydbInstanceQueryInsightsConfig.Builder queryPlansPerMinute​(Number queryPlansPerMinute)
        Parameters:
        queryPlansPerMinute - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#query_plans_per_minute AlloydbInstance#query_plans_per_minute}
        Returns:
        this
      • queryStringLength

        @Stability(Stable)
        public AlloydbInstanceQueryInsightsConfig.Builder queryStringLength​(Number queryStringLength)
        Parameters:
        queryStringLength - Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#query_string_length AlloydbInstance#query_string_length}
        Returns:
        this
      • recordApplicationTags

        @Stability(Stable)
        public AlloydbInstanceQueryInsightsConfig.Builder recordApplicationTags​(Boolean recordApplicationTags)
        Parameters:
        recordApplicationTags - Record application tags for an instance. This flag is turned "on" by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#record_application_tags AlloydbInstance#record_application_tags}
        Returns:
        this
      • recordApplicationTags

        @Stability(Stable)
        public AlloydbInstanceQueryInsightsConfig.Builder recordApplicationTags​(com.hashicorp.cdktf.IResolvable recordApplicationTags)
        Parameters:
        recordApplicationTags - Record application tags for an instance. This flag is turned "on" by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#record_application_tags AlloydbInstance#record_application_tags}
        Returns:
        this
      • recordClientAddress

        @Stability(Stable)
        public AlloydbInstanceQueryInsightsConfig.Builder recordClientAddress​(Boolean recordClientAddress)
        Parameters:
        recordClientAddress - Record client address for an instance. Client address is PII information. This flag is turned "on" by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#record_client_address AlloydbInstance#record_client_address}
        Returns:
        this
      • recordClientAddress

        @Stability(Stable)
        public AlloydbInstanceQueryInsightsConfig.Builder recordClientAddress​(com.hashicorp.cdktf.IResolvable recordClientAddress)
        Parameters:
        recordClientAddress - Record client address for an instance. Client address is PII information. This flag is turned "on" by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_instance#record_client_address AlloydbInstance#record_client_address}
        Returns:
        this