com.pulumi.aws.autoscaling.outputs.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecification 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.
// *** 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.PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQuery;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecification {
/**
* @return List of up to 10 structures that defines custom load metric in predictive scaling policy
*
*/
private List metricDataQueries;
private PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecification() {}
/**
* @return List of up to 10 structures that defines custom load metric in predictive scaling policy
*
*/
public List metricDataQueries() {
return this.metricDataQueries;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecification defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List metricDataQueries;
public Builder() {}
public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecification defaults) {
Objects.requireNonNull(defaults);
this.metricDataQueries = defaults.metricDataQueries;
}
@CustomType.Setter
public Builder metricDataQueries(List metricDataQueries) {
if (metricDataQueries == null) {
throw new MissingRequiredPropertyException("PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecification", "metricDataQueries");
}
this.metricDataQueries = metricDataQueries;
return this;
}
public Builder metricDataQueries(PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQuery... metricDataQueries) {
return metricDataQueries(List.of(metricDataQueries));
}
public PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecification build() {
final var _resultValue = new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecification();
_resultValue.metricDataQueries = metricDataQueries;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy