Class AlloydbInstanceQueryInsightsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_instance.AlloydbInstanceQueryInsightsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbInstanceQueryInsightsConfig>
- Enclosing interface:
- AlloydbInstanceQueryInsightsConfig
@Stability(Stable) public static final class AlloydbInstanceQueryInsightsConfig.Builder extends Object implements software.amazon.jsii.Builder<AlloydbInstanceQueryInsightsConfig>
A builder forAlloydbInstanceQueryInsightsConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
queryPlansPerMinute
@Stability(Stable) public AlloydbInstanceQueryInsightsConfig.Builder queryPlansPerMinute(Number queryPlansPerMinute)
Sets the value ofAlloydbInstanceQueryInsightsConfig.getQueryPlansPerMinute()- 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)
Sets the value ofAlloydbInstanceQueryInsightsConfig.getQueryStringLength()- 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)
Sets the value ofAlloydbInstanceQueryInsightsConfig.getRecordApplicationTags()- 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)
Sets the value ofAlloydbInstanceQueryInsightsConfig.getRecordApplicationTags()- 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)
Sets the value ofAlloydbInstanceQueryInsightsConfig.getRecordClientAddress()- 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)
Sets the value ofAlloydbInstanceQueryInsightsConfig.getRecordClientAddress()- 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
-
build
@Stability(Stable) public AlloydbInstanceQueryInsightsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbInstanceQueryInsightsConfig>- Returns:
- a new instance of
AlloydbInstanceQueryInsightsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-