com.pulumi.signalfx.aws.inputs.IntegrationMetricStatsToSyncArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signalfx Show documentation
Show all versions of signalfx Show documentation
A Pulumi package for creating and managing SignalFx 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.signalfx.aws.inputs;
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 IntegrationMetricStatsToSyncArgs extends com.pulumi.resources.ResourceArgs {
public static final IntegrationMetricStatsToSyncArgs Empty = new IntegrationMetricStatsToSyncArgs();
/**
* AWS metric that you want to pick statistics for
*
*/
@Import(name="metric", required=true)
private Output metric;
/**
* @return AWS metric that you want to pick statistics for
*
*/
public Output metric() {
return this.metric;
}
/**
* An AWS namespace having AWS metric that you want to pick statistics for
*
*/
@Import(name="namespace", required=true)
private Output namespace;
/**
* @return An AWS namespace having AWS metric that you want to pick statistics for
*
*/
public Output namespace() {
return this.namespace;
}
/**
* AWS statistics you want to collect
*
*/
@Import(name="stats", required=true)
private Output> stats;
/**
* @return AWS statistics you want to collect
*
*/
public Output> stats() {
return this.stats;
}
private IntegrationMetricStatsToSyncArgs() {}
private IntegrationMetricStatsToSyncArgs(IntegrationMetricStatsToSyncArgs $) {
this.metric = $.metric;
this.namespace = $.namespace;
this.stats = $.stats;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IntegrationMetricStatsToSyncArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private IntegrationMetricStatsToSyncArgs $;
public Builder() {
$ = new IntegrationMetricStatsToSyncArgs();
}
public Builder(IntegrationMetricStatsToSyncArgs defaults) {
$ = new IntegrationMetricStatsToSyncArgs(Objects.requireNonNull(defaults));
}
/**
* @param metric AWS metric that you want to pick statistics for
*
* @return builder
*
*/
public Builder metric(Output metric) {
$.metric = metric;
return this;
}
/**
* @param metric AWS metric that you want to pick statistics for
*
* @return builder
*
*/
public Builder metric(String metric) {
return metric(Output.of(metric));
}
/**
* @param namespace An AWS namespace having AWS metric that you want to pick statistics for
*
* @return builder
*
*/
public Builder namespace(Output namespace) {
$.namespace = namespace;
return this;
}
/**
* @param namespace An AWS namespace having AWS metric that you want to pick statistics for
*
* @return builder
*
*/
public Builder namespace(String namespace) {
return namespace(Output.of(namespace));
}
/**
* @param stats AWS statistics you want to collect
*
* @return builder
*
*/
public Builder stats(Output> stats) {
$.stats = stats;
return this;
}
/**
* @param stats AWS statistics you want to collect
*
* @return builder
*
*/
public Builder stats(List stats) {
return stats(Output.of(stats));
}
/**
* @param stats AWS statistics you want to collect
*
* @return builder
*
*/
public Builder stats(String... stats) {
return stats(List.of(stats));
}
public IntegrationMetricStatsToSyncArgs build() {
if ($.metric == null) {
throw new MissingRequiredPropertyException("IntegrationMetricStatsToSyncArgs", "metric");
}
if ($.namespace == null) {
throw new MissingRequiredPropertyException("IntegrationMetricStatsToSyncArgs", "namespace");
}
if ($.stats == null) {
throw new MissingRequiredPropertyException("IntegrationMetricStatsToSyncArgs", "stats");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy