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

com.pulumi.azurenative.connectedvmwarevsphere.inputs.GetHostPlainArgs 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.connectedvmwarevsphere.inputs;

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


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

    public static final GetHostPlainArgs Empty = new GetHostPlainArgs();

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

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

    /**
     * The Resource Group Name.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The Resource Group Name.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetHostPlainArgs() {}

    private GetHostPlainArgs(GetHostPlainArgs $) {
        this.hostName = $.hostName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetHostPlainArgs $;

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

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

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

        /**
         * @param resourceGroupName The Resource Group Name.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetHostPlainArgs build() {
            if ($.hostName == null) {
                throw new MissingRequiredPropertyException("GetHostPlainArgs", "hostName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetHostPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy