// *** 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 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 `datestyle`, `enable_user_activity_logging`, `query_group`, `search_path`, and `max_query_execution_time`.
     * 
     */
    @Import(name="parameterKey", required=true)
    private Output<String> parameterKey;

    /**
     * @return The key of the parameter. The options are `datestyle`, `enable_user_activity_logging`, `query_group`, `search_path`, and `max_query_execution_time`.
     * 
     */
    public Output<String> parameterKey() {
        return this.parameterKey;
    }

    /**
     * The value of the parameter to set.
     * 
     */
    @Import(name="parameterValue", required=true)
    private Output<String> parameterValue;

    /**
     * @return The value of the parameter to set.
     * 
     */
    public Output<String> 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 `datestyle`, `enable_user_activity_logging`, `query_group`, `search_path`, and `max_query_execution_time`.
         * 
         * @return builder
         * 
         */
        public Builder parameterKey(Output<String> parameterKey) {
            $.parameterKey = parameterKey;
            return this;
        }

        /**
         * @param parameterKey The key of the parameter. The options are `datestyle`, `enable_user_activity_logging`, `query_group`, `search_path`, and `max_query_execution_time`.
         * 
         * @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<String> 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() {
            $.parameterKey = Objects.requireNonNull($.parameterKey, "expected parameter 'parameterKey' to be non-null");
            $.parameterValue = Objects.requireNonNull($.parameterValue, "expected parameter 'parameterValue' to be non-null");
            return $;
        }
    }

}
