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

com.pulumi.azurenative.billing.inputs.AssociatedTenantPropertiesArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.billing.enums.BillingManagementTenantState;
import com.pulumi.azurenative.billing.enums.ProvisioningTenantState;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * An associated tenant.
 * 
 */
public final class AssociatedTenantPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AssociatedTenantPropertiesArgs Empty = new AssociatedTenantPropertiesArgs();

    /**
     * The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
     * 
     */
    @Import(name="billingManagementState")
    private @Nullable Output> billingManagementState;

    /**
     * @return The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
     * 
     */
    public Optional>> billingManagementState() {
        return Optional.ofNullable(this.billingManagementState);
    }

    /**
     * The name of the associated tenant.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return The name of the associated tenant.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
     * 
     */
    @Import(name="provisioningManagementState")
    private @Nullable Output> provisioningManagementState;

    /**
     * @return The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
     * 
     */
    public Optional>> provisioningManagementState() {
        return Optional.ofNullable(this.provisioningManagementState);
    }

    /**
     * The ID that uniquely identifies a tenant.
     * 
     */
    @Import(name="tenantId")
    private @Nullable Output tenantId;

    /**
     * @return The ID that uniquely identifies a tenant.
     * 
     */
    public Optional> tenantId() {
        return Optional.ofNullable(this.tenantId);
    }

    private AssociatedTenantPropertiesArgs() {}

    private AssociatedTenantPropertiesArgs(AssociatedTenantPropertiesArgs $) {
        this.billingManagementState = $.billingManagementState;
        this.displayName = $.displayName;
        this.provisioningManagementState = $.provisioningManagementState;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private AssociatedTenantPropertiesArgs $;

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

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

        /**
         * @param billingManagementState The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
         * 
         * @return builder
         * 
         */
        public Builder billingManagementState(@Nullable Output> billingManagementState) {
            $.billingManagementState = billingManagementState;
            return this;
        }

        /**
         * @param billingManagementState The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
         * 
         * @return builder
         * 
         */
        public Builder billingManagementState(Either billingManagementState) {
            return billingManagementState(Output.of(billingManagementState));
        }

        /**
         * @param billingManagementState The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
         * 
         * @return builder
         * 
         */
        public Builder billingManagementState(String billingManagementState) {
            return billingManagementState(Either.ofLeft(billingManagementState));
        }

        /**
         * @param billingManagementState The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
         * 
         * @return builder
         * 
         */
        public Builder billingManagementState(BillingManagementTenantState billingManagementState) {
            return billingManagementState(Either.ofRight(billingManagementState));
        }

        /**
         * @param displayName The name of the associated tenant.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName The name of the associated tenant.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param provisioningManagementState The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
         * 
         * @return builder
         * 
         */
        public Builder provisioningManagementState(@Nullable Output> provisioningManagementState) {
            $.provisioningManagementState = provisioningManagementState;
            return this;
        }

        /**
         * @param provisioningManagementState The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
         * 
         * @return builder
         * 
         */
        public Builder provisioningManagementState(Either provisioningManagementState) {
            return provisioningManagementState(Output.of(provisioningManagementState));
        }

        /**
         * @param provisioningManagementState The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
         * 
         * @return builder
         * 
         */
        public Builder provisioningManagementState(String provisioningManagementState) {
            return provisioningManagementState(Either.ofLeft(provisioningManagementState));
        }

        /**
         * @param provisioningManagementState The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
         * 
         * @return builder
         * 
         */
        public Builder provisioningManagementState(ProvisioningTenantState provisioningManagementState) {
            return provisioningManagementState(Either.ofRight(provisioningManagementState));
        }

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

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

        public AssociatedTenantPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy