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

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

    public static final GetDedicatedHostArgs Empty = new GetDedicatedHostArgs();

    /**
     * Specifies the name of the Dedicated Host Group the Dedicated Host is located in.
     * 
     */
    @Import(name="dedicatedHostGroupName", required=true)
    private Output dedicatedHostGroupName;

    /**
     * @return Specifies the name of the Dedicated Host Group the Dedicated Host is located in.
     * 
     */
    public Output dedicatedHostGroupName() {
        return this.dedicatedHostGroupName;
    }

    /**
     * Specifies the name of the Dedicated Host.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Specifies the name of the Dedicated Host.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * Specifies the name of the resource group the Dedicated Host is located in.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Specifies the name of the resource group the Dedicated Host is located in.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetDedicatedHostArgs() {}

    private GetDedicatedHostArgs(GetDedicatedHostArgs $) {
        this.dedicatedHostGroupName = $.dedicatedHostGroupName;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetDedicatedHostArgs $;

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

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

        /**
         * @param dedicatedHostGroupName Specifies the name of the Dedicated Host Group the Dedicated Host is located in.
         * 
         * @return builder
         * 
         */
        public Builder dedicatedHostGroupName(Output dedicatedHostGroupName) {
            $.dedicatedHostGroupName = dedicatedHostGroupName;
            return this;
        }

        /**
         * @param dedicatedHostGroupName Specifies the name of the Dedicated Host Group the Dedicated Host is located in.
         * 
         * @return builder
         * 
         */
        public Builder dedicatedHostGroupName(String dedicatedHostGroupName) {
            return dedicatedHostGroupName(Output.of(dedicatedHostGroupName));
        }

        /**
         * @param name Specifies the name of the Dedicated Host.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the Dedicated Host.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName Specifies the name of the resource group the Dedicated Host is located in.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Specifies the name of the resource group the Dedicated Host is located in.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy