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

com.pulumi.azurenative.migrate.inputs.GetVMwareCollectorArgs 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.migrate.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 GetVMwareCollectorArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetVMwareCollectorArgs Empty = new GetVMwareCollectorArgs();

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

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

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

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

    /**
     * Unique name of a VMware collector within a project.
     * 
     */
    @Import(name="vmWareCollectorName", required=true)
    private Output vmWareCollectorName;

    /**
     * @return Unique name of a VMware collector within a project.
     * 
     */
    public Output vmWareCollectorName() {
        return this.vmWareCollectorName;
    }

    private GetVMwareCollectorArgs() {}

    private GetVMwareCollectorArgs(GetVMwareCollectorArgs $) {
        this.projectName = $.projectName;
        this.resourceGroupName = $.resourceGroupName;
        this.vmWareCollectorName = $.vmWareCollectorName;
    }

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

    public static final class Builder {
        private GetVMwareCollectorArgs $;

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

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

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

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

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

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

        /**
         * @param vmWareCollectorName Unique name of a VMware collector within a project.
         * 
         * @return builder
         * 
         */
        public Builder vmWareCollectorName(Output vmWareCollectorName) {
            $.vmWareCollectorName = vmWareCollectorName;
            return this;
        }

        /**
         * @param vmWareCollectorName Unique name of a VMware collector within a project.
         * 
         * @return builder
         * 
         */
        public Builder vmWareCollectorName(String vmWareCollectorName) {
            return vmWareCollectorName(Output.of(vmWareCollectorName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy