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

com.pulumi.azurenative.workloads.inputs.GetServerInstancePlainArgs 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.azurenative.workloads.inputs;

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


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

    public static final GetServerInstancePlainArgs Empty = new GetServerInstancePlainArgs();

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

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

    /**
     * The name of the discovery site resource for SAP Migration.
     * 
     */
    @Import(name="sapDiscoverySiteName", required=true)
    private String sapDiscoverySiteName;

    /**
     * @return The name of the discovery site resource for SAP Migration.
     * 
     */
    public String sapDiscoverySiteName() {
        return this.sapDiscoverySiteName;
    }

    /**
     * The name of SAP Instance resource for SAP Migration.
     * 
     */
    @Import(name="sapInstanceName", required=true)
    private String sapInstanceName;

    /**
     * @return The name of SAP Instance resource for SAP Migration.
     * 
     */
    public String sapInstanceName() {
        return this.sapInstanceName;
    }

    /**
     * The name of the Server instance resource for SAP Migration.
     * 
     */
    @Import(name="serverInstanceName", required=true)
    private String serverInstanceName;

    /**
     * @return The name of the Server instance resource for SAP Migration.
     * 
     */
    public String serverInstanceName() {
        return this.serverInstanceName;
    }

    private GetServerInstancePlainArgs() {}

    private GetServerInstancePlainArgs(GetServerInstancePlainArgs $) {
        this.resourceGroupName = $.resourceGroupName;
        this.sapDiscoverySiteName = $.sapDiscoverySiteName;
        this.sapInstanceName = $.sapInstanceName;
        this.serverInstanceName = $.serverInstanceName;
    }

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

    public static final class Builder {
        private GetServerInstancePlainArgs $;

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

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

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

        /**
         * @param sapDiscoverySiteName The name of the discovery site resource for SAP Migration.
         * 
         * @return builder
         * 
         */
        public Builder sapDiscoverySiteName(String sapDiscoverySiteName) {
            $.sapDiscoverySiteName = sapDiscoverySiteName;
            return this;
        }

        /**
         * @param sapInstanceName The name of SAP Instance resource for SAP Migration.
         * 
         * @return builder
         * 
         */
        public Builder sapInstanceName(String sapInstanceName) {
            $.sapInstanceName = sapInstanceName;
            return this;
        }

        /**
         * @param serverInstanceName The name of the Server instance resource for SAP Migration.
         * 
         * @return builder
         * 
         */
        public Builder serverInstanceName(String serverInstanceName) {
            $.serverInstanceName = serverInstanceName;
            return this;
        }

        public GetServerInstancePlainArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetServerInstancePlainArgs", "resourceGroupName");
            }
            if ($.sapDiscoverySiteName == null) {
                throw new MissingRequiredPropertyException("GetServerInstancePlainArgs", "sapDiscoverySiteName");
            }
            if ($.sapInstanceName == null) {
                throw new MissingRequiredPropertyException("GetServerInstancePlainArgs", "sapInstanceName");
            }
            if ($.serverInstanceName == null) {
                throw new MissingRequiredPropertyException("GetServerInstancePlainArgs", "serverInstanceName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy