// *** 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;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final CostAllocationTagArgs Empty = new CostAllocationTagArgs();

    /**
     * The status of a cost allocation tag. Valid values are `Active` and `Inactive`.
     * 
     */
    @Import(name="status", required=true)
    private Output<String> status;

    /**
     * @return The status of a cost allocation tag. Valid values are `Active` and `Inactive`.
     * 
     */
    public Output<String> status() {
        return this.status;
    }

    /**
     * The key for the cost allocation tag.
     * 
     */
    @Import(name="tagKey", required=true)
    private Output<String> tagKey;

    /**
     * @return The key for the cost allocation tag.
     * 
     */
    public Output<String> tagKey() {
        return this.tagKey;
    }

    private CostAllocationTagArgs() {}

    private CostAllocationTagArgs(CostAllocationTagArgs $) {
        this.status = $.status;
        this.tagKey = $.tagKey;
    }

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

    public static final class Builder {
        private CostAllocationTagArgs $;

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

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

        /**
         * @param status The status of a cost allocation tag. Valid values are `Active` and `Inactive`.
         * 
         * @return builder
         * 
         */
        public Builder status(Output<String> status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The status of a cost allocation tag. Valid values are `Active` and `Inactive`.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param tagKey The key for the cost allocation tag.
         * 
         * @return builder
         * 
         */
        public Builder tagKey(Output<String> tagKey) {
            $.tagKey = tagKey;
            return this;
        }

        /**
         * @param tagKey The key for the cost allocation tag.
         * 
         * @return builder
         * 
         */
        public Builder tagKey(String tagKey) {
            return tagKey(Output.of(tagKey));
        }

        public CostAllocationTagArgs build() {
            $.status = Objects.requireNonNull($.status, "expected parameter 'status' to be non-null");
            $.tagKey = Objects.requireNonNull($.tagKey, "expected parameter 'tagKey' to be non-null");
            return $;
        }
    }

}
