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

com.pulumi.azurenative.azurestack.inputs.GetProductPlainArgs Maven / Gradle / Ivy

// *** 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetProductPlainArgs Empty = new GetProductPlainArgs();

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

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

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

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

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

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

    private GetProductPlainArgs() {}

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

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

    public static final class Builder {
        private GetProductPlainArgs $;

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

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy