com.pulumi.aws.redshiftserverless.inputs.WorkgroupConfigParameterArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.redshiftserverless.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class WorkgroupConfigParameterArgs extends com.pulumi.resources.ResourceArgs {
public static final WorkgroupConfigParameterArgs Empty = new WorkgroupConfigParameterArgs();
/**
* The key of the parameter. The options are `auto_mv`, `datestyle`, `enable_case_sensitive_identifier`, `enable_user_activity_logging`, `query_group`, `search_path`, `require_ssl`, `use_fips_ssl`, and [query monitoring metrics](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) that let you define performance boundaries: `max_query_cpu_time`, `max_query_blocks_read`, `max_scan_row_count`, `max_query_execution_time`, `max_query_queue_time`, `max_query_cpu_usage_percent`, `max_query_temp_blocks_to_disk`, `max_join_row_count` and `max_nested_loop_join_row_count`.
*
*/
@Import(name="parameterKey", required=true)
private Output parameterKey;
/**
* @return The key of the parameter. The options are `auto_mv`, `datestyle`, `enable_case_sensitive_identifier`, `enable_user_activity_logging`, `query_group`, `search_path`, `require_ssl`, `use_fips_ssl`, and [query monitoring metrics](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) that let you define performance boundaries: `max_query_cpu_time`, `max_query_blocks_read`, `max_scan_row_count`, `max_query_execution_time`, `max_query_queue_time`, `max_query_cpu_usage_percent`, `max_query_temp_blocks_to_disk`, `max_join_row_count` and `max_nested_loop_join_row_count`.
*
*/
public Output parameterKey() {
return this.parameterKey;
}
/**
* The value of the parameter to set.
*
*/
@Import(name="parameterValue", required=true)
private Output parameterValue;
/**
* @return The value of the parameter to set.
*
*/
public Output parameterValue() {
return this.parameterValue;
}
private WorkgroupConfigParameterArgs() {}
private WorkgroupConfigParameterArgs(WorkgroupConfigParameterArgs $) {
this.parameterKey = $.parameterKey;
this.parameterValue = $.parameterValue;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WorkgroupConfigParameterArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private WorkgroupConfigParameterArgs $;
public Builder() {
$ = new WorkgroupConfigParameterArgs();
}
public Builder(WorkgroupConfigParameterArgs defaults) {
$ = new WorkgroupConfigParameterArgs(Objects.requireNonNull(defaults));
}
/**
* @param parameterKey The key of the parameter. The options are `auto_mv`, `datestyle`, `enable_case_sensitive_identifier`, `enable_user_activity_logging`, `query_group`, `search_path`, `require_ssl`, `use_fips_ssl`, and [query monitoring metrics](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) that let you define performance boundaries: `max_query_cpu_time`, `max_query_blocks_read`, `max_scan_row_count`, `max_query_execution_time`, `max_query_queue_time`, `max_query_cpu_usage_percent`, `max_query_temp_blocks_to_disk`, `max_join_row_count` and `max_nested_loop_join_row_count`.
*
* @return builder
*
*/
public Builder parameterKey(Output parameterKey) {
$.parameterKey = parameterKey;
return this;
}
/**
* @param parameterKey The key of the parameter. The options are `auto_mv`, `datestyle`, `enable_case_sensitive_identifier`, `enable_user_activity_logging`, `query_group`, `search_path`, `require_ssl`, `use_fips_ssl`, and [query monitoring metrics](https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless) that let you define performance boundaries: `max_query_cpu_time`, `max_query_blocks_read`, `max_scan_row_count`, `max_query_execution_time`, `max_query_queue_time`, `max_query_cpu_usage_percent`, `max_query_temp_blocks_to_disk`, `max_join_row_count` and `max_nested_loop_join_row_count`.
*
* @return builder
*
*/
public Builder parameterKey(String parameterKey) {
return parameterKey(Output.of(parameterKey));
}
/**
* @param parameterValue The value of the parameter to set.
*
* @return builder
*
*/
public Builder parameterValue(Output parameterValue) {
$.parameterValue = parameterValue;
return this;
}
/**
* @param parameterValue The value of the parameter to set.
*
* @return builder
*
*/
public Builder parameterValue(String parameterValue) {
return parameterValue(Output.of(parameterValue));
}
public WorkgroupConfigParameterArgs build() {
if ($.parameterKey == null) {
throw new MissingRequiredPropertyException("WorkgroupConfigParameterArgs", "parameterKey");
}
if ($.parameterValue == null) {
throw new MissingRequiredPropertyException("WorkgroupConfigParameterArgs", "parameterValue");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy