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

com.pulumi.azurenative.powerbidedicated.inputs.GetCapacityDetailsArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.powerbidedicated.inputs;

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


public final class GetCapacityDetailsArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCapacityDetailsArgs Empty = new GetCapacityDetailsArgs();

    /**
     * The name of the dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63.
     * 
     */
    @Import(name="dedicatedCapacityName", required=true)
    private Output dedicatedCapacityName;

    /**
     * @return The name of the dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63.
     * 
     */
    public Output dedicatedCapacityName() {
        return this.dedicatedCapacityName;
    }

    /**
     * The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetCapacityDetailsArgs() {}

    private GetCapacityDetailsArgs(GetCapacityDetailsArgs $) {
        this.dedicatedCapacityName = $.dedicatedCapacityName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetCapacityDetailsArgs $;

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

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

        /**
         * @param dedicatedCapacityName The name of the dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63.
         * 
         * @return builder
         * 
         */
        public Builder dedicatedCapacityName(Output dedicatedCapacityName) {
            $.dedicatedCapacityName = dedicatedCapacityName;
            return this;
        }

        /**
         * @param dedicatedCapacityName The name of the dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63.
         * 
         * @return builder
         * 
         */
        public Builder dedicatedCapacityName(String dedicatedCapacityName) {
            return dedicatedCapacityName(Output.of(dedicatedCapacityName));
        }

        /**
         * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy