// *** 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.CostCategoryRuleRuleNotCostCategoryArgs;
import com.pulumi.aws.costexplorer.inputs.CostCategoryRuleRuleNotDimensionArgs;
import com.pulumi.aws.costexplorer.inputs.CostCategoryRuleRuleNotTagsArgs;
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 CostCategoryRuleRuleNotArgs extends com.pulumi.resources.ResourceArgs {

    public static final CostCategoryRuleRuleNotArgs Empty = new CostCategoryRuleRuleNotArgs();

    /**
     * Configuration block for the filter that&#39;s based on `CostCategory` values. See below.
     * 
     */
    @Import(name="costCategory")
    private @Nullable Output<CostCategoryRuleRuleNotCostCategoryArgs> costCategory;

    /**
     * @return Configuration block for the filter that&#39;s based on `CostCategory` values. See below.
     * 
     */
    public Optional<Output<CostCategoryRuleRuleNotCostCategoryArgs>> costCategory() {
        return Optional.ofNullable(this.costCategory);
    }

    /**
     * Configuration block for the specific `Dimension` to use for `Expression`. See below.
     * 
     */
    @Import(name="dimension")
    private @Nullable Output<CostCategoryRuleRuleNotDimensionArgs> dimension;

    /**
     * @return Configuration block for the specific `Dimension` to use for `Expression`. See below.
     * 
     */
    public Optional<Output<CostCategoryRuleRuleNotDimensionArgs>> dimension() {
        return Optional.ofNullable(this.dimension);
    }

    /**
     * Key-value mapping of resource tags. 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<CostCategoryRuleRuleNotTagsArgs> tags;

    /**
     * @return Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional<Output<CostCategoryRuleRuleNotTagsArgs>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private CostCategoryRuleRuleNotArgs() {}

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

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

    public static final class Builder {
        private CostCategoryRuleRuleNotArgs $;

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

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

        /**
         * @param costCategory Configuration block for the filter that&#39;s based on `CostCategory` values. See below.
         * 
         * @return builder
         * 
         */
        public Builder costCategory(@Nullable Output<CostCategoryRuleRuleNotCostCategoryArgs> costCategory) {
            $.costCategory = costCategory;
            return this;
        }

        /**
         * @param costCategory Configuration block for the filter that&#39;s based on `CostCategory` values. See below.
         * 
         * @return builder
         * 
         */
        public Builder costCategory(CostCategoryRuleRuleNotCostCategoryArgs costCategory) {
            return costCategory(Output.of(costCategory));
        }

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

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

        /**
         * @param tags Key-value mapping of resource tags. 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<CostCategoryRuleRuleNotTagsArgs> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value mapping of resource tags. 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(CostCategoryRuleRuleNotTagsArgs tags) {
            return tags(Output.of(tags));
        }

        public CostCategoryRuleRuleNotArgs build() {
            return $;
        }
    }

}
