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

com.pulumi.azurenative.powerbi.inputs.GetWorkspaceCollectionArgs 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.powerbi.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 GetWorkspaceCollectionArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetWorkspaceCollectionArgs Empty = new GetWorkspaceCollectionArgs();

    /**
     * Azure resource group
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Azure resource group
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Power BI Embedded Workspace Collection name
     * 
     */
    @Import(name="workspaceCollectionName", required=true)
    private Output workspaceCollectionName;

    /**
     * @return Power BI Embedded Workspace Collection name
     * 
     */
    public Output workspaceCollectionName() {
        return this.workspaceCollectionName;
    }

    private GetWorkspaceCollectionArgs() {}

    private GetWorkspaceCollectionArgs(GetWorkspaceCollectionArgs $) {
        this.resourceGroupName = $.resourceGroupName;
        this.workspaceCollectionName = $.workspaceCollectionName;
    }

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

    public static final class Builder {
        private GetWorkspaceCollectionArgs $;

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

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

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

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

        /**
         * @param workspaceCollectionName Power BI Embedded Workspace Collection name
         * 
         * @return builder
         * 
         */
        public Builder workspaceCollectionName(Output workspaceCollectionName) {
            $.workspaceCollectionName = workspaceCollectionName;
            return this;
        }

        /**
         * @param workspaceCollectionName Power BI Embedded Workspace Collection name
         * 
         * @return builder
         * 
         */
        public Builder workspaceCollectionName(String workspaceCollectionName) {
            return workspaceCollectionName(Output.of(workspaceCollectionName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy