Interface UpdateExpressConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateExpressConfigurationRequest.Builder,,UpdateExpressConfigurationRequest> RedshiftServerlessRequest.Builder,SdkBuilder<UpdateExpressConfigurationRequest.Builder,,UpdateExpressConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateExpressConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfigParameters(Collection<ConfigParameter> configParameters) An array of parameters to set for advanced control over a database.configParameters(Consumer<ConfigParameter.Builder>... configParameters) An array of parameters to set for advanced control over a database.configParameters(ConfigParameter... configParameters) An array of parameters to set for advanced control over a database.loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) The logging configuration to update: either the audit logs exported to Amazon CloudWatch, or publishing system tables to Amazon S3 Tables.loggingConfiguration(LoggingConfiguration loggingConfiguration) The logging configuration to update: either the audit logs exported to Amazon CloudWatch, or publishing system tables to Amazon S3 Tables.maxCapacity(Integer maxCapacity) The maximum capacity that Amazon Redshift Serverless with express configuration uses to serve queries, in Redshift Processing Units (RPUs).overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
configParameters
UpdateExpressConfigurationRequest.Builder configParameters(Collection<ConfigParameter> configParameters) An array of parameters to set for advanced control over a database. The update merges with the current parameters: a parameter that you leave out of the request keeps its current value. You can set the following parameters:
-
datestyle,enable_case_sensitive_identifier,enable_large_strings_opt_in,enable_user_activity_logging,query_group,search_path, anduse_fips_ssl. -
Query monitoring rules. To remove a rule, set its value to
-1. Settingmax_query_execution_timeto-1also removes its default limit. The rules and their valid ranges are as follows:-
max_io_skew– 0–99 -
max_join_row_count– 0–999,999,999,999,999 -
max_nested_loop_join_row_count– 0–999,999,999,999,999 -
max_query_blocks_read– 0–1,048,575 (1 MB blocks) -
max_query_execution_time– 0–86,399 seconds (default14400) -
max_query_queue_time– 0–86,399 seconds -
max_query_temp_blocks_to_disk– 0–319,815,679 (1 MB blocks) -
max_return_row_count– 0–999,999,999,999,999 -
max_scan_row_count– 0–999,999,999,999,999
-
The following parameters, which Amazon Redshift Serverless supports, aren't supported on the express configuration:
wlm_json_configuration,require_ssl,max_query_cpu_time,max_query_cpu_usage_percent, andmax_cpu_skew. TLS is always required.- Parameters:
configParameters- An array of parameters to set for advanced control over a database. The update merges with the current parameters: a parameter that you leave out of the request keeps its current value. You can set the following parameters:-
datestyle,enable_case_sensitive_identifier,enable_large_strings_opt_in,enable_user_activity_logging,query_group,search_path, anduse_fips_ssl. -
Query monitoring rules. To remove a rule, set its value to
-1. Settingmax_query_execution_timeto-1also removes its default limit. The rules and their valid ranges are as follows:-
max_io_skew– 0–99 -
max_join_row_count– 0–999,999,999,999,999 -
max_nested_loop_join_row_count– 0–999,999,999,999,999 -
max_query_blocks_read– 0–1,048,575 (1 MB blocks) -
max_query_execution_time– 0–86,399 seconds (default14400) -
max_query_queue_time– 0–86,399 seconds -
max_query_temp_blocks_to_disk– 0–319,815,679 (1 MB blocks) -
max_return_row_count– 0–999,999,999,999,999 -
max_scan_row_count– 0–999,999,999,999,999
-
The following parameters, which Amazon Redshift Serverless supports, aren't supported on the express configuration:
wlm_json_configuration,require_ssl,max_query_cpu_time,max_query_cpu_usage_percent, andmax_cpu_skew. TLS is always required.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
configParameters
An array of parameters to set for advanced control over a database. The update merges with the current parameters: a parameter that you leave out of the request keeps its current value. You can set the following parameters:
-
datestyle,enable_case_sensitive_identifier,enable_large_strings_opt_in,enable_user_activity_logging,query_group,search_path, anduse_fips_ssl. -
Query monitoring rules. To remove a rule, set its value to
-1. Settingmax_query_execution_timeto-1also removes its default limit. The rules and their valid ranges are as follows:-
max_io_skew– 0–99 -
max_join_row_count– 0–999,999,999,999,999 -
max_nested_loop_join_row_count– 0–999,999,999,999,999 -
max_query_blocks_read– 0–1,048,575 (1 MB blocks) -
max_query_execution_time– 0–86,399 seconds (default14400) -
max_query_queue_time– 0–86,399 seconds -
max_query_temp_blocks_to_disk– 0–319,815,679 (1 MB blocks) -
max_return_row_count– 0–999,999,999,999,999 -
max_scan_row_count– 0–999,999,999,999,999
-
The following parameters, which Amazon Redshift Serverless supports, aren't supported on the express configuration:
wlm_json_configuration,require_ssl,max_query_cpu_time,max_query_cpu_usage_percent, andmax_cpu_skew. TLS is always required.- Parameters:
configParameters- An array of parameters to set for advanced control over a database. The update merges with the current parameters: a parameter that you leave out of the request keeps its current value. You can set the following parameters:-
datestyle,enable_case_sensitive_identifier,enable_large_strings_opt_in,enable_user_activity_logging,query_group,search_path, anduse_fips_ssl. -
Query monitoring rules. To remove a rule, set its value to
-1. Settingmax_query_execution_timeto-1also removes its default limit. The rules and their valid ranges are as follows:-
max_io_skew– 0–99 -
max_join_row_count– 0–999,999,999,999,999 -
max_nested_loop_join_row_count– 0–999,999,999,999,999 -
max_query_blocks_read– 0–1,048,575 (1 MB blocks) -
max_query_execution_time– 0–86,399 seconds (default14400) -
max_query_queue_time– 0–86,399 seconds -
max_query_temp_blocks_to_disk– 0–319,815,679 (1 MB blocks) -
max_return_row_count– 0–999,999,999,999,999 -
max_scan_row_count– 0–999,999,999,999,999
-
The following parameters, which Amazon Redshift Serverless supports, aren't supported on the express configuration:
wlm_json_configuration,require_ssl,max_query_cpu_time,max_query_cpu_usage_percent, andmax_cpu_skew. TLS is always required.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
configParameters
UpdateExpressConfigurationRequest.Builder configParameters(Consumer<ConfigParameter.Builder>... configParameters) An array of parameters to set for advanced control over a database. The update merges with the current parameters: a parameter that you leave out of the request keeps its current value. You can set the following parameters:
-
datestyle,enable_case_sensitive_identifier,enable_large_strings_opt_in,enable_user_activity_logging,query_group,search_path, anduse_fips_ssl. -
Query monitoring rules. To remove a rule, set its value to
-1. Settingmax_query_execution_timeto-1also removes its default limit. The rules and their valid ranges are as follows:-
max_io_skew– 0–99 -
max_join_row_count– 0–999,999,999,999,999 -
max_nested_loop_join_row_count– 0–999,999,999,999,999 -
max_query_blocks_read– 0–1,048,575 (1 MB blocks) -
max_query_execution_time– 0–86,399 seconds (default14400) -
max_query_queue_time– 0–86,399 seconds -
max_query_temp_blocks_to_disk– 0–319,815,679 (1 MB blocks) -
max_return_row_count– 0–999,999,999,999,999 -
max_scan_row_count– 0–999,999,999,999,999
-
The following parameters, which Amazon Redshift Serverless supports, aren't supported on the express configuration:
This is a convenience method that creates an instance of thewlm_json_configuration,require_ssl,max_query_cpu_time,max_query_cpu_usage_percent, andmax_cpu_skew. TLS is always required.ConfigParameter.Builderavoiding the need to create one manually viaConfigParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigParameters(List<ConfigParameter>).- Parameters:
configParameters- a consumer that will call methods onConfigParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
maxCapacity
The maximum capacity that Amazon Redshift Serverless with express configuration uses to serve queries, in Redshift Processing Units (RPUs). Valid values are 64–1024, in multiples of 8. To remove a previously set maximum capacity, specify
-1. Without a maximum capacity, capacity scales up to 512 RPUs.- Parameters:
maxCapacity- The maximum capacity that Amazon Redshift Serverless with express configuration uses to serve queries, in Redshift Processing Units (RPUs). Valid values are 64–1024, in multiples of 8. To remove a previously set maximum capacity, specify-1. Without a maximum capacity, capacity scales up to 512 RPUs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
UpdateExpressConfigurationRequest.Builder loggingConfiguration(LoggingConfiguration loggingConfiguration) The logging configuration to update: either the audit logs exported to Amazon CloudWatch, or publishing system tables to Amazon S3 Tables. You can change only one of the two in a single request.
- Parameters:
loggingConfiguration- The logging configuration to update: either the audit logs exported to Amazon CloudWatch, or publishing system tables to Amazon S3 Tables. You can change only one of the two in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default UpdateExpressConfigurationRequest.Builder loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) The logging configuration to update: either the audit logs exported to Amazon CloudWatch, or publishing system tables to Amazon S3 Tables. You can change only one of the two in a single request.
This is a convenience method that creates an instance of theLoggingConfiguration.Builderavoiding the need to create one manually viaLoggingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingConfiguration(LoggingConfiguration).- Parameters:
loggingConfiguration- a consumer that will call methods onLoggingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateExpressConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateExpressConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-