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

import com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;


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

    public static final PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs Empty = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs();

    /**
     * List of up to 10 structures that defines custom capacity metric in predictive scaling policy
     * 
     */
    @Import(name="metricDataQueries", required=true)
    private Output<List<PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs>> metricDataQueries;

    /**
     * @return List of up to 10 structures that defines custom capacity metric in predictive scaling policy
     * 
     */
    public Output<List<PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs>> metricDataQueries() {
        return this.metricDataQueries;
    }

    private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs() {}

    private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs $) {
        this.metricDataQueries = $.metricDataQueries;
    }

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

    public static final class Builder {
        private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationArgs $;

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

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

        /**
         * @param metricDataQueries List of up to 10 structures that defines custom capacity metric in predictive scaling policy
         * 
         * @return builder
         * 
         */
        public Builder metricDataQueries(Output<List<PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs>> metricDataQueries) {
            $.metricDataQueries = metricDataQueries;
            return this;
        }

        /**
         * @param metricDataQueries List of up to 10 structures that defines custom capacity metric in predictive scaling policy
         * 
         * @return builder
         * 
         */
        public Builder metricDataQueries(List<PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs> metricDataQueries) {
            return metricDataQueries(Output.of(metricDataQueries));
        }

        /**
         * @param metricDataQueries List of up to 10 structures that defines custom capacity metric in predictive scaling policy
         * 
         * @return builder
         * 
         */
        public Builder metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQueryArgs... metricDataQueries) {
            return metricDataQueries(List.of(metricDataQueries));
        }

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

}
