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

com.pulumi.aws.costexplorer.inputs.AnomalySubscriptionThresholdExpressionNotArgs 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.AnomalySubscriptionThresholdExpressionNotCostCategoryArgs;
import com.pulumi.aws.costexplorer.inputs.AnomalySubscriptionThresholdExpressionNotDimensionArgs;
import com.pulumi.aws.costexplorer.inputs.AnomalySubscriptionThresholdExpressionNotTagsArgs;
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 AnomalySubscriptionThresholdExpressionNotArgs extends com.pulumi.resources.ResourceArgs {

    public static final AnomalySubscriptionThresholdExpressionNotArgs Empty = new AnomalySubscriptionThresholdExpressionNotArgs();

    @Import(name="costCategory")
    private @Nullable Output costCategory;

    public Optional> costCategory() {
        return Optional.ofNullable(this.costCategory);
    }

    @Import(name="dimension")
    private @Nullable Output dimension;

    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 AnomalySubscriptionThresholdExpressionNotArgs() {}

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

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

    public static final class Builder {
        private AnomalySubscriptionThresholdExpressionNotArgs $;

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

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

        public Builder costCategory(@Nullable Output costCategory) {
            $.costCategory = costCategory;
            return this;
        }

        public Builder costCategory(AnomalySubscriptionThresholdExpressionNotCostCategoryArgs costCategory) {
            return costCategory(Output.of(costCategory));
        }

        public Builder dimension(@Nullable Output dimension) {
            $.dimension = dimension;
            return this;
        }

        public Builder dimension(AnomalySubscriptionThresholdExpressionNotDimensionArgs 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(AnomalySubscriptionThresholdExpressionNotTagsArgs tags) {
            return tags(Output.of(tags));
        }

        public AnomalySubscriptionThresholdExpressionNotArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy