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

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

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


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

    public static final GetViewPlainArgs Empty = new GetViewPlainArgs();

    /**
     * The name of the hub.
     * 
     */
    @Import(name="hubName", required=true)
    private String hubName;

    /**
     * @return The name of the hub.
     * 
     */
    public String hubName() {
        return this.hubName;
    }

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

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

    /**
     * The user ID. Use * to retrieve hub level view.
     * 
     */
    @Import(name="userId", required=true)
    private String userId;

    /**
     * @return The user ID. Use * to retrieve hub level view.
     * 
     */
    public String userId() {
        return this.userId;
    }

    /**
     * The name of the view.
     * 
     */
    @Import(name="viewName", required=true)
    private String viewName;

    /**
     * @return The name of the view.
     * 
     */
    public String viewName() {
        return this.viewName;
    }

    private GetViewPlainArgs() {}

    private GetViewPlainArgs(GetViewPlainArgs $) {
        this.hubName = $.hubName;
        this.resourceGroupName = $.resourceGroupName;
        this.userId = $.userId;
        this.viewName = $.viewName;
    }

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

    public static final class Builder {
        private GetViewPlainArgs $;

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

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

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

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

        /**
         * @param userId The user ID. Use * to retrieve hub level view.
         * 
         * @return builder
         * 
         */
        public Builder userId(String userId) {
            $.userId = userId;
            return this;
        }

        /**
         * @param viewName The name of the view.
         * 
         * @return builder
         * 
         */
        public Builder viewName(String viewName) {
            $.viewName = viewName;
            return this;
        }

        public GetViewPlainArgs build() {
            if ($.hubName == null) {
                throw new MissingRequiredPropertyException("GetViewPlainArgs", "hubName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetViewPlainArgs", "resourceGroupName");
            }
            if ($.userId == null) {
                throw new MissingRequiredPropertyException("GetViewPlainArgs", "userId");
            }
            if ($.viewName == null) {
                throw new MissingRequiredPropertyException("GetViewPlainArgs", "viewName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy