com.pulumi.aws.cloudwatch.inputs.MetricStreamStatisticsConfigurationArgs 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.cloudwatch.inputs;
import com.pulumi.aws.cloudwatch.inputs.MetricStreamStatisticsConfigurationIncludeMetricArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
public final class MetricStreamStatisticsConfigurationArgs extends com.pulumi.resources.ResourceArgs {
public static final MetricStreamStatisticsConfigurationArgs Empty = new MetricStreamStatisticsConfigurationArgs();
@Import(name="additionalStatistics", required=true)
private Output> additionalStatistics;
public Output> additionalStatistics() {
return this.additionalStatistics;
}
@Import(name="includeMetrics", required=true)
private Output> includeMetrics;
public Output> includeMetrics() {
return this.includeMetrics;
}
private MetricStreamStatisticsConfigurationArgs() {}
private MetricStreamStatisticsConfigurationArgs(MetricStreamStatisticsConfigurationArgs $) {
this.additionalStatistics = $.additionalStatistics;
this.includeMetrics = $.includeMetrics;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MetricStreamStatisticsConfigurationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private MetricStreamStatisticsConfigurationArgs $;
public Builder() {
$ = new MetricStreamStatisticsConfigurationArgs();
}
public Builder(MetricStreamStatisticsConfigurationArgs defaults) {
$ = new MetricStreamStatisticsConfigurationArgs(Objects.requireNonNull(defaults));
}
public Builder additionalStatistics(Output> additionalStatistics) {
$.additionalStatistics = additionalStatistics;
return this;
}
public Builder additionalStatistics(List additionalStatistics) {
return additionalStatistics(Output.of(additionalStatistics));
}
public Builder additionalStatistics(String... additionalStatistics) {
return additionalStatistics(List.of(additionalStatistics));
}
public Builder includeMetrics(Output> includeMetrics) {
$.includeMetrics = includeMetrics;
return this;
}
public Builder includeMetrics(List includeMetrics) {
return includeMetrics(Output.of(includeMetrics));
}
public Builder includeMetrics(MetricStreamStatisticsConfigurationIncludeMetricArgs... includeMetrics) {
return includeMetrics(List.of(includeMetrics));
}
public MetricStreamStatisticsConfigurationArgs build() {
if ($.additionalStatistics == null) {
throw new MissingRequiredPropertyException("MetricStreamStatisticsConfigurationArgs", "additionalStatistics");
}
if ($.includeMetrics == null) {
throw new MissingRequiredPropertyException("MetricStreamStatisticsConfigurationArgs", "includeMetrics");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy