All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.costexplorer.inputs.AnomalySubscriptionThresholdExpressionOrArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show 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.costexplorer.inputs;

import com.pulumi.aws.costexplorer.inputs.AnomalySubscriptionThresholdExpressionOrCostCategoryArgs;
import com.pulumi.aws.costexplorer.inputs.AnomalySubscriptionThresholdExpressionOrDimensionArgs;
import com.pulumi.aws.costexplorer.inputs.AnomalySubscriptionThresholdExpressionOrTagsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class AnomalySubscriptionThresholdExpressionOrArgs extends com.pulumi.resources.ResourceArgs {

    public static final AnomalySubscriptionThresholdExpressionOrArgs Empty = new AnomalySubscriptionThresholdExpressionOrArgs();

    /**
     * Configuration block for the filter that's based on  values. See Cost Category below.
     * 
     */
    @Import(name="costCategory")
    private @Nullable Output costCategory;

    /**
     * @return Configuration block for the filter that's based on  values. See Cost Category below.
     * 
     */
    public Optional> costCategory() {
        return Optional.ofNullable(this.costCategory);
    }

    /**
     * Configuration block for the specific Dimension to use for.
     * 
     */
    @Import(name="dimension")
    private @Nullable Output dimension;

    /**
     * @return Configuration block for the specific Dimension to use for.
     * 
     */
    public Optional> dimension() {
        return Optional.ofNullable(this.dimension);
    }

    /**
     * A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output tags;

    /**
     * @return A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    private AnomalySubscriptionThresholdExpressionOrArgs() {}

    private AnomalySubscriptionThresholdExpressionOrArgs(AnomalySubscriptionThresholdExpressionOrArgs $) {
        this.costCategory = $.costCategory;
        this.dimension = $.dimension;
        this.tags = $.tags;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(AnomalySubscriptionThresholdExpressionOrArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private AnomalySubscriptionThresholdExpressionOrArgs $;

        public Builder() {
            $ = new AnomalySubscriptionThresholdExpressionOrArgs();
        }

        public Builder(AnomalySubscriptionThresholdExpressionOrArgs defaults) {
            $ = new AnomalySubscriptionThresholdExpressionOrArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param costCategory Configuration block for the filter that's based on  values. See Cost Category below.
         * 
         * @return builder
         * 
         */
        public Builder costCategory(@Nullable Output costCategory) {
            $.costCategory = costCategory;
            return this;
        }

        /**
         * @param costCategory Configuration block for the filter that's based on  values. See Cost Category below.
         * 
         * @return builder
         * 
         */
        public Builder costCategory(AnomalySubscriptionThresholdExpressionOrCostCategoryArgs costCategory) {
            return costCategory(Output.of(costCategory));
        }

        /**
         * @param dimension Configuration block for the specific Dimension to use for.
         * 
         * @return builder
         * 
         */
        public Builder dimension(@Nullable Output dimension) {
            $.dimension = dimension;
            return this;
        }

        /**
         * @param dimension Configuration block for the specific Dimension to use for.
         * 
         * @return builder
         * 
         */
        public Builder dimension(AnomalySubscriptionThresholdExpressionOrDimensionArgs dimension) {
            return dimension(Output.of(dimension));
        }

        /**
         * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(AnomalySubscriptionThresholdExpressionOrTagsArgs tags) {
            return tags(Output.of(tags));
        }

        public AnomalySubscriptionThresholdExpressionOrArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy