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

com.pulumi.azure.batch.inputs.GetPoolArgs 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.azure.batch.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 GetPoolArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetPoolArgs Empty = new GetPoolArgs();

    /**
     * The Azure Storage Account name.
     * 
     */
    @Import(name="accountName", required=true)
    private Output accountName;

    /**
     * @return The Azure Storage Account name.
     * 
     */
    public Output accountName() {
        return this.accountName;
    }

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

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

    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetPoolArgs() {}

    private GetPoolArgs(GetPoolArgs $) {
        this.accountName = $.accountName;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetPoolArgs $;

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

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

        /**
         * @param accountName The Azure Storage Account name.
         * 
         * @return builder
         * 
         */
        public Builder accountName(Output accountName) {
            $.accountName = accountName;
            return this;
        }

        /**
         * @param accountName The Azure Storage Account name.
         * 
         * @return builder
         * 
         */
        public Builder accountName(String accountName) {
            return accountName(Output.of(accountName));
        }

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

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

        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public GetPoolArgs build() {
            if ($.accountName == null) {
                throw new MissingRequiredPropertyException("GetPoolArgs", "accountName");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetPoolArgs", "name");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetPoolArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy