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

com.pulumi.azurenative.customerinsights.HubArgs 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.customerinsights;

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


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

    public static final HubArgs Empty = new HubArgs();

    /**
     * Billing settings of the hub.
     * 
     */
    @Import(name="hubBillingInfo")
    private @Nullable Output hubBillingInfo;

    /**
     * @return Billing settings of the hub.
     * 
     */
    public Optional> hubBillingInfo() {
        return Optional.ofNullable(this.hubBillingInfo);
    }

    /**
     * The name of the Hub.
     * 
     */
    @Import(name="hubName")
    private @Nullable Output hubName;

    /**
     * @return The name of the Hub.
     * 
     */
    public Optional> hubName() {
        return Optional.ofNullable(this.hubName);
    }

    /**
     * Resource location.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Resource location.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * The bit flags for enabled hub features. Bit 0 is set to 1 indicates graph is enabled, or disabled if set to 0. Bit 1 is set to 1 indicates the hub is disabled, or enabled if set to 0.
     * 
     */
    @Import(name="tenantFeatures")
    private @Nullable Output tenantFeatures;

    /**
     * @return The bit flags for enabled hub features. Bit 0 is set to 1 indicates graph is enabled, or disabled if set to 0. Bit 1 is set to 1 indicates the hub is disabled, or enabled if set to 0.
     * 
     */
    public Optional> tenantFeatures() {
        return Optional.ofNullable(this.tenantFeatures);
    }

    private HubArgs() {}

    private HubArgs(HubArgs $) {
        this.hubBillingInfo = $.hubBillingInfo;
        this.hubName = $.hubName;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.tenantFeatures = $.tenantFeatures;
    }

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

    public static final class Builder {
        private HubArgs $;

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

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

        /**
         * @param hubBillingInfo Billing settings of the hub.
         * 
         * @return builder
         * 
         */
        public Builder hubBillingInfo(@Nullable Output hubBillingInfo) {
            $.hubBillingInfo = hubBillingInfo;
            return this;
        }

        /**
         * @param hubBillingInfo Billing settings of the hub.
         * 
         * @return builder
         * 
         */
        public Builder hubBillingInfo(HubBillingInfoFormatArgs hubBillingInfo) {
            return hubBillingInfo(Output.of(hubBillingInfo));
        }

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

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

        /**
         * @param location Resource location.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Resource location.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tenantFeatures The bit flags for enabled hub features. Bit 0 is set to 1 indicates graph is enabled, or disabled if set to 0. Bit 1 is set to 1 indicates the hub is disabled, or enabled if set to 0.
         * 
         * @return builder
         * 
         */
        public Builder tenantFeatures(@Nullable Output tenantFeatures) {
            $.tenantFeatures = tenantFeatures;
            return this;
        }

        /**
         * @param tenantFeatures The bit flags for enabled hub features. Bit 0 is set to 1 indicates graph is enabled, or disabled if set to 0. Bit 1 is set to 1 indicates the hub is disabled, or enabled if set to 0.
         * 
         * @return builder
         * 
         */
        public Builder tenantFeatures(Integer tenantFeatures) {
            return tenantFeatures(Output.of(tenantFeatures));
        }

        public HubArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("HubArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy