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

com.pulumi.azurenative.migrate.inputs.GetHyperVCollectorPlainArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.migrate.inputs;

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


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

    public static final GetHyperVCollectorPlainArgs Empty = new GetHyperVCollectorPlainArgs();

    /**
     * Unique name of a Hyper-V collector within a project.
     * 
     */
    @Import(name="hyperVCollectorName", required=true)
    private String hyperVCollectorName;

    /**
     * @return Unique name of a Hyper-V collector within a project.
     * 
     */
    public String hyperVCollectorName() {
        return this.hyperVCollectorName;
    }

    /**
     * Name of the Azure Migrate project.
     * 
     */
    @Import(name="projectName", required=true)
    private String projectName;

    /**
     * @return Name of the Azure Migrate project.
     * 
     */
    public String projectName() {
        return this.projectName;
    }

    /**
     * Name of the Azure Resource Group that project is part of.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return Name of the Azure Resource Group that project is part of.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetHyperVCollectorPlainArgs() {}

    private GetHyperVCollectorPlainArgs(GetHyperVCollectorPlainArgs $) {
        this.hyperVCollectorName = $.hyperVCollectorName;
        this.projectName = $.projectName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetHyperVCollectorPlainArgs $;

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

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

        /**
         * @param hyperVCollectorName Unique name of a Hyper-V collector within a project.
         * 
         * @return builder
         * 
         */
        public Builder hyperVCollectorName(String hyperVCollectorName) {
            $.hyperVCollectorName = hyperVCollectorName;
            return this;
        }

        /**
         * @param projectName Name of the Azure Migrate project.
         * 
         * @return builder
         * 
         */
        public Builder projectName(String projectName) {
            $.projectName = projectName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the Azure Resource Group that project is part of.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetHyperVCollectorPlainArgs build() {
            if ($.hyperVCollectorName == null) {
                throw new MissingRequiredPropertyException("GetHyperVCollectorPlainArgs", "hyperVCollectorName");
            }
            if ($.projectName == null) {
                throw new MissingRequiredPropertyException("GetHyperVCollectorPlainArgs", "projectName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetHyperVCollectorPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy