com.pulumi.aws.costexplorer.outputs.AnomalySubscriptionThresholdExpressionNotDimension 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.costexplorer.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AnomalySubscriptionThresholdExpressionNotDimension {
/**
* @return Unique name of the Cost Category.
*
*/
private @Nullable String key;
/**
* @return Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is `EQUALS` and `CASE_SENSITIVE`. Valid values are: `EQUALS`, `ABSENT`, `STARTS_WITH`, `ENDS_WITH`, `CONTAINS`, `CASE_SENSITIVE`, `CASE_INSENSITIVE`.
*
*/
private @Nullable List matchOptions;
/**
* @return Specific value of the Cost Category.
*
*/
private @Nullable List values;
private AnomalySubscriptionThresholdExpressionNotDimension() {}
/**
* @return Unique name of the Cost Category.
*
*/
public Optional key() {
return Optional.ofNullable(this.key);
}
/**
* @return Match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is `EQUALS` and `CASE_SENSITIVE`. Valid values are: `EQUALS`, `ABSENT`, `STARTS_WITH`, `ENDS_WITH`, `CONTAINS`, `CASE_SENSITIVE`, `CASE_INSENSITIVE`.
*
*/
public List matchOptions() {
return this.matchOptions == null ? List.of() : this.matchOptions;
}
/**
* @return Specific value of the Cost Category.
*
*/
public List values() {
return this.values == null ? List.of() : this.values;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AnomalySubscriptionThresholdExpressionNotDimension defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String key;
private @Nullable List matchOptions;
private @Nullable List values;
public Builder() {}
public Builder(AnomalySubscriptionThresholdExpressionNotDimension defaults) {
Objects.requireNonNull(defaults);
this.key = defaults.key;
this.matchOptions = defaults.matchOptions;
this.values = defaults.values;
}
@CustomType.Setter
public Builder key(@Nullable String key) {
this.key = key;
return this;
}
@CustomType.Setter
public Builder matchOptions(@Nullable List matchOptions) {
this.matchOptions = matchOptions;
return this;
}
public Builder matchOptions(String... matchOptions) {
return matchOptions(List.of(matchOptions));
}
@CustomType.Setter
public Builder values(@Nullable List values) {
this.values = values;
return this;
}
public Builder values(String... values) {
return values(List.of(values));
}
public AnomalySubscriptionThresholdExpressionNotDimension build() {
final var _resultValue = new AnomalySubscriptionThresholdExpressionNotDimension();
_resultValue.key = key;
_resultValue.matchOptions = matchOptions;
_resultValue.values = values;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy