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

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

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


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

    public static final GetSapInstancePlainArgs Empty = new GetSapInstancePlainArgs();

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

    private GetSapInstancePlainArgs() {}

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

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

    public static final class Builder {
        private GetSapInstancePlainArgs $;

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

        public Builder(GetSapInstancePlainArgs defaults) {
            $ = new GetSapInstancePlainArgs(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;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy