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

com.pulumi.azurenative.billing.InvoiceSectionArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.billing;

import com.pulumi.azurenative.billing.inputs.InvoiceSectionPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final InvoiceSectionArgs Empty = new InvoiceSectionArgs();

    /**
     * The ID that uniquely identifies a billing account.
     * 
     */
    @Import(name="billingAccountName", required=true)
    private Output billingAccountName;

    /**
     * @return The ID that uniquely identifies a billing account.
     * 
     */
    public Output billingAccountName() {
        return this.billingAccountName;
    }

    /**
     * The ID that uniquely identifies a billing profile.
     * 
     */
    @Import(name="billingProfileName", required=true)
    private Output billingProfileName;

    /**
     * @return The ID that uniquely identifies a billing profile.
     * 
     */
    public Output billingProfileName() {
        return this.billingProfileName;
    }

    /**
     * The ID that uniquely identifies an invoice section.
     * 
     */
    @Import(name="invoiceSectionName")
    private @Nullable Output invoiceSectionName;

    /**
     * @return The ID that uniquely identifies an invoice section.
     * 
     */
    public Optional> invoiceSectionName() {
        return Optional.ofNullable(this.invoiceSectionName);
    }

    /**
     * An invoice section.
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

    /**
     * @return An invoice section.
     * 
     */
    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private InvoiceSectionArgs() {}

    private InvoiceSectionArgs(InvoiceSectionArgs $) {
        this.billingAccountName = $.billingAccountName;
        this.billingProfileName = $.billingProfileName;
        this.invoiceSectionName = $.invoiceSectionName;
        this.properties = $.properties;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private InvoiceSectionArgs $;

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

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

        /**
         * @param billingAccountName The ID that uniquely identifies a billing account.
         * 
         * @return builder
         * 
         */
        public Builder billingAccountName(Output billingAccountName) {
            $.billingAccountName = billingAccountName;
            return this;
        }

        /**
         * @param billingAccountName The ID that uniquely identifies a billing account.
         * 
         * @return builder
         * 
         */
        public Builder billingAccountName(String billingAccountName) {
            return billingAccountName(Output.of(billingAccountName));
        }

        /**
         * @param billingProfileName The ID that uniquely identifies a billing profile.
         * 
         * @return builder
         * 
         */
        public Builder billingProfileName(Output billingProfileName) {
            $.billingProfileName = billingProfileName;
            return this;
        }

        /**
         * @param billingProfileName The ID that uniquely identifies a billing profile.
         * 
         * @return builder
         * 
         */
        public Builder billingProfileName(String billingProfileName) {
            return billingProfileName(Output.of(billingProfileName));
        }

        /**
         * @param invoiceSectionName The ID that uniquely identifies an invoice section.
         * 
         * @return builder
         * 
         */
        public Builder invoiceSectionName(@Nullable Output invoiceSectionName) {
            $.invoiceSectionName = invoiceSectionName;
            return this;
        }

        /**
         * @param invoiceSectionName The ID that uniquely identifies an invoice section.
         * 
         * @return builder
         * 
         */
        public Builder invoiceSectionName(String invoiceSectionName) {
            return invoiceSectionName(Output.of(invoiceSectionName));
        }

        /**
         * @param properties An invoice section.
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties An invoice section.
         * 
         * @return builder
         * 
         */
        public Builder properties(InvoiceSectionPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param tags Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public InvoiceSectionArgs build() {
            if ($.billingAccountName == null) {
                throw new MissingRequiredPropertyException("InvoiceSectionArgs", "billingAccountName");
            }
            if ($.billingProfileName == null) {
                throw new MissingRequiredPropertyException("InvoiceSectionArgs", "billingProfileName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy