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

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

    public static final GetModuleArgs Empty = new GetModuleArgs();

    /**
     * The name of the automation account.
     * 
     */
    @Import(name="automationAccountName", required=true)
    private Output automationAccountName;

    /**
     * @return The name of the automation account.
     * 
     */
    public Output automationAccountName() {
        return this.automationAccountName;
    }

    /**
     * The module name.
     * 
     */
    @Import(name="moduleName", required=true)
    private Output moduleName;

    /**
     * @return The module name.
     * 
     */
    public Output moduleName() {
        return this.moduleName;
    }

    /**
     * Name of an Azure Resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Name of an Azure Resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetModuleArgs() {}

    private GetModuleArgs(GetModuleArgs $) {
        this.automationAccountName = $.automationAccountName;
        this.moduleName = $.moduleName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetModuleArgs $;

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

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

        /**
         * @param automationAccountName The name of the automation account.
         * 
         * @return builder
         * 
         */
        public Builder automationAccountName(Output automationAccountName) {
            $.automationAccountName = automationAccountName;
            return this;
        }

        /**
         * @param automationAccountName The name of the automation account.
         * 
         * @return builder
         * 
         */
        public Builder automationAccountName(String automationAccountName) {
            return automationAccountName(Output.of(automationAccountName));
        }

        /**
         * @param moduleName The module name.
         * 
         * @return builder
         * 
         */
        public Builder moduleName(Output moduleName) {
            $.moduleName = moduleName;
            return this;
        }

        /**
         * @param moduleName The module name.
         * 
         * @return builder
         * 
         */
        public Builder moduleName(String moduleName) {
            return moduleName(Output.of(moduleName));
        }

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

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

        public GetModuleArgs build() {
            if ($.automationAccountName == null) {
                throw new MissingRequiredPropertyException("GetModuleArgs", "automationAccountName");
            }
            if ($.moduleName == null) {
                throw new MissingRequiredPropertyException("GetModuleArgs", "moduleName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetModuleArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy