com.pulumi.aws.oam.outputs.LinkLinkConfigurationMetricConfiguration 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.
The newest version!
// *** 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.oam.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class LinkLinkConfigurationMetricConfiguration {
/**
* @return Filter string that specifies which metrics are to be shared with the monitoring account. See [MetricConfiguration](https://docs.aws.amazon.com/OAM/latest/APIReference/API_MetricConfiguration.html) for details.
*
*/
private String filter;
private LinkLinkConfigurationMetricConfiguration() {}
/**
* @return Filter string that specifies which metrics are to be shared with the monitoring account. See [MetricConfiguration](https://docs.aws.amazon.com/OAM/latest/APIReference/API_MetricConfiguration.html) for details.
*
*/
public String filter() {
return this.filter;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LinkLinkConfigurationMetricConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String filter;
public Builder() {}
public Builder(LinkLinkConfigurationMetricConfiguration defaults) {
Objects.requireNonNull(defaults);
this.filter = defaults.filter;
}
@CustomType.Setter
public Builder filter(String filter) {
if (filter == null) {
throw new MissingRequiredPropertyException("LinkLinkConfigurationMetricConfiguration", "filter");
}
this.filter = filter;
return this;
}
public LinkLinkConfigurationMetricConfiguration build() {
final var _resultValue = new LinkLinkConfigurationMetricConfiguration();
_resultValue.filter = filter;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy