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

import com.pulumi.aws.autoscaling.outputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQuery;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;

@CustomType
public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecification {
    /**
     * @return List of up to 10 structures that defines custom capacity metric in predictive scaling policy
     * 
     */
    private List<PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQuery> metricDataQueries;

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

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

    public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecification defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQuery> metricDataQueries;
        public Builder() {}
        public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecification defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.metricDataQueries = defaults.metricDataQueries;
        }

        @CustomType.Setter
        public Builder metricDataQueries(List<PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQuery> metricDataQueries) {
            this.metricDataQueries = Objects.requireNonNull(metricDataQueries);
            return this;
        }
        public Builder metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecificationMetricDataQuery... metricDataQueries) {
            return metricDataQueries(List.of(metricDataQueries));
        }
        public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecification build() {
            final var o = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedCapacityMetricSpecification();
            o.metricDataQueries = metricDataQueries;
            return o;
        }
    }
}
