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

com.pulumi.azurenative.hybridcompute.inputs.GetMachineExtensionArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.hybridcompute.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 GetMachineExtensionArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetMachineExtensionArgs Empty = new GetMachineExtensionArgs();

    /**
     * The name of the machine extension.
     * 
     */
    @Import(name="extensionName", required=true)
    private Output extensionName;

    /**
     * @return The name of the machine extension.
     * 
     */
    public Output extensionName() {
        return this.extensionName;
    }

    /**
     * The name of the machine containing the extension.
     * 
     */
    @Import(name="machineName", required=true)
    private Output machineName;

    /**
     * @return The name of the machine containing the extension.
     * 
     */
    public Output machineName() {
        return this.machineName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetMachineExtensionArgs() {}

    private GetMachineExtensionArgs(GetMachineExtensionArgs $) {
        this.extensionName = $.extensionName;
        this.machineName = $.machineName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetMachineExtensionArgs $;

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

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

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

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

        /**
         * @param machineName The name of the machine containing the extension.
         * 
         * @return builder
         * 
         */
        public Builder machineName(Output machineName) {
            $.machineName = machineName;
            return this;
        }

        /**
         * @param machineName The name of the machine containing the extension.
         * 
         * @return builder
         * 
         */
        public Builder machineName(String machineName) {
            return machineName(Output.of(machineName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public GetMachineExtensionArgs build() {
            if ($.extensionName == null) {
                throw new MissingRequiredPropertyException("GetMachineExtensionArgs", "extensionName");
            }
            if ($.machineName == null) {
                throw new MissingRequiredPropertyException("GetMachineExtensionArgs", "machineName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetMachineExtensionArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy