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

com.pulumi.azurenative.migrate.inputs.GetMigrateAgentPlainArgs 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;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetMigrateAgentPlainArgs Empty = new GetMigrateAgentPlainArgs();

    /**
     * MigrateAgent name.
     * 
     */
    @Import(name="agentName", required=true)
    private String agentName;

    /**
     * @return MigrateAgent name.
     * 
     */
    public String agentName() {
        return this.agentName;
    }

    /**
     * ModernizeProject name.
     * 
     */
    @Import(name="modernizeProjectName", required=true)
    private String modernizeProjectName;

    /**
     * @return ModernizeProject name.
     * 
     */
    public String modernizeProjectName() {
        return this.modernizeProjectName;
    }

    /**
     * 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;
    }

    /**
     * Azure Subscription Id in which project was created.
     * 
     */
    @Import(name="subscriptionId")
    private @Nullable String subscriptionId;

    /**
     * @return Azure Subscription Id in which project was created.
     * 
     */
    public Optional subscriptionId() {
        return Optional.ofNullable(this.subscriptionId);
    }

    private GetMigrateAgentPlainArgs() {}

    private GetMigrateAgentPlainArgs(GetMigrateAgentPlainArgs $) {
        this.agentName = $.agentName;
        this.modernizeProjectName = $.modernizeProjectName;
        this.resourceGroupName = $.resourceGroupName;
        this.subscriptionId = $.subscriptionId;
    }

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

    public static final class Builder {
        private GetMigrateAgentPlainArgs $;

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

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

        /**
         * @param agentName MigrateAgent name.
         * 
         * @return builder
         * 
         */
        public Builder agentName(String agentName) {
            $.agentName = agentName;
            return this;
        }

        /**
         * @param modernizeProjectName ModernizeProject name.
         * 
         * @return builder
         * 
         */
        public Builder modernizeProjectName(String modernizeProjectName) {
            $.modernizeProjectName = modernizeProjectName;
            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;
        }

        /**
         * @param subscriptionId Azure Subscription Id in which project was created.
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(@Nullable String subscriptionId) {
            $.subscriptionId = subscriptionId;
            return this;
        }

        public GetMigrateAgentPlainArgs build() {
            if ($.agentName == null) {
                throw new MissingRequiredPropertyException("GetMigrateAgentPlainArgs", "agentName");
            }
            if ($.modernizeProjectName == null) {
                throw new MissingRequiredPropertyException("GetMigrateAgentPlainArgs", "modernizeProjectName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetMigrateAgentPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy