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

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

    public static final GetProductArgs Empty = new GetProductArgs();

    /**
     * Name of the product.
     * 
     */
    @Import(name="productName", required=true)
    private Output productName;

    /**
     * @return Name of the product.
     * 
     */
    public Output productName() {
        return this.productName;
    }

    /**
     * Name of the Azure Stack registration.
     * 
     */
    @Import(name="registrationName", required=true)
    private Output registrationName;

    /**
     * @return Name of the Azure Stack registration.
     * 
     */
    public Output registrationName() {
        return this.registrationName;
    }

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

    /**
     * @return Name of the resource group.
     * 
     */
    public Output resourceGroup() {
        return this.resourceGroup;
    }

    private GetProductArgs() {}

    private GetProductArgs(GetProductArgs $) {
        this.productName = $.productName;
        this.registrationName = $.registrationName;
        this.resourceGroup = $.resourceGroup;
    }

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

    public static final class Builder {
        private GetProductArgs $;

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

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

        /**
         * @param productName Name of the product.
         * 
         * @return builder
         * 
         */
        public Builder productName(Output productName) {
            $.productName = productName;
            return this;
        }

        /**
         * @param productName Name of the product.
         * 
         * @return builder
         * 
         */
        public Builder productName(String productName) {
            return productName(Output.of(productName));
        }

        /**
         * @param registrationName Name of the Azure Stack registration.
         * 
         * @return builder
         * 
         */
        public Builder registrationName(Output registrationName) {
            $.registrationName = registrationName;
            return this;
        }

        /**
         * @param registrationName Name of the Azure Stack registration.
         * 
         * @return builder
         * 
         */
        public Builder registrationName(String registrationName) {
            return registrationName(Output.of(registrationName));
        }

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

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

        public GetProductArgs build() {
            if ($.productName == null) {
                throw new MissingRequiredPropertyException("GetProductArgs", "productName");
            }
            if ($.registrationName == null) {
                throw new MissingRequiredPropertyException("GetProductArgs", "registrationName");
            }
            if ($.resourceGroup == null) {
                throw new MissingRequiredPropertyException("GetProductArgs", "resourceGroup");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy