// *** 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.quicksight.inputs;

import com.pulumi.aws.quicksight.inputs.DataSetRefreshPropertiesRefreshConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;


public final class DataSetRefreshPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataSetRefreshPropertiesArgs Empty = new DataSetRefreshPropertiesArgs();

    /**
     * The refresh configuration for the data set. See refresh_configuration.
     * 
     */
    @Import(name="refreshConfiguration", required=true)
    private Output<DataSetRefreshPropertiesRefreshConfigurationArgs> refreshConfiguration;

    /**
     * @return The refresh configuration for the data set. See refresh_configuration.
     * 
     */
    public Output<DataSetRefreshPropertiesRefreshConfigurationArgs> refreshConfiguration() {
        return this.refreshConfiguration;
    }

    private DataSetRefreshPropertiesArgs() {}

    private DataSetRefreshPropertiesArgs(DataSetRefreshPropertiesArgs $) {
        this.refreshConfiguration = $.refreshConfiguration;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(DataSetRefreshPropertiesArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private DataSetRefreshPropertiesArgs $;

        public Builder() {
            $ = new DataSetRefreshPropertiesArgs();
        }

        public Builder(DataSetRefreshPropertiesArgs defaults) {
            $ = new DataSetRefreshPropertiesArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param refreshConfiguration The refresh configuration for the data set. See refresh_configuration.
         * 
         * @return builder
         * 
         */
        public Builder refreshConfiguration(Output<DataSetRefreshPropertiesRefreshConfigurationArgs> refreshConfiguration) {
            $.refreshConfiguration = refreshConfiguration;
            return this;
        }

        /**
         * @param refreshConfiguration The refresh configuration for the data set. See refresh_configuration.
         * 
         * @return builder
         * 
         */
        public Builder refreshConfiguration(DataSetRefreshPropertiesRefreshConfigurationArgs refreshConfiguration) {
            return refreshConfiguration(Output.of(refreshConfiguration));
        }

        public DataSetRefreshPropertiesArgs build() {
            $.refreshConfiguration = Objects.requireNonNull($.refreshConfiguration, "expected parameter 'refreshConfiguration' to be non-null");
            return $;
        }
    }

}
