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

com.pulumi.azurenative.workloads.inputs.GetSAPAvailabilityZoneDetailsArgs 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.azurenative.workloads.enums.SAPDatabaseType;
import com.pulumi.azurenative.workloads.enums.SAPProductType;
import com.pulumi.core.Either;
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 GetSAPAvailabilityZoneDetailsArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetSAPAvailabilityZoneDetailsArgs Empty = new GetSAPAvailabilityZoneDetailsArgs();

    /**
     * The geo-location where the SAP resources will be created.
     * 
     */
    @Import(name="appLocation", required=true)
    private Output appLocation;

    /**
     * @return The geo-location where the SAP resources will be created.
     * 
     */
    public Output appLocation() {
        return this.appLocation;
    }

    /**
     * The database type. Eg: HANA, DB2, etc
     * 
     */
    @Import(name="databaseType", required=true)
    private Output> databaseType;

    /**
     * @return The database type. Eg: HANA, DB2, etc
     * 
     */
    public Output> databaseType() {
        return this.databaseType;
    }

    /**
     * The name of Azure region.
     * 
     */
    @Import(name="location", required=true)
    private Output location;

    /**
     * @return The name of Azure region.
     * 
     */
    public Output location() {
        return this.location;
    }

    /**
     * Defines the SAP Product type.
     * 
     */
    @Import(name="sapProduct", required=true)
    private Output> sapProduct;

    /**
     * @return Defines the SAP Product type.
     * 
     */
    public Output> sapProduct() {
        return this.sapProduct;
    }

    private GetSAPAvailabilityZoneDetailsArgs() {}

    private GetSAPAvailabilityZoneDetailsArgs(GetSAPAvailabilityZoneDetailsArgs $) {
        this.appLocation = $.appLocation;
        this.databaseType = $.databaseType;
        this.location = $.location;
        this.sapProduct = $.sapProduct;
    }

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

    public static final class Builder {
        private GetSAPAvailabilityZoneDetailsArgs $;

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

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

        /**
         * @param appLocation The geo-location where the SAP resources will be created.
         * 
         * @return builder
         * 
         */
        public Builder appLocation(Output appLocation) {
            $.appLocation = appLocation;
            return this;
        }

        /**
         * @param appLocation The geo-location where the SAP resources will be created.
         * 
         * @return builder
         * 
         */
        public Builder appLocation(String appLocation) {
            return appLocation(Output.of(appLocation));
        }

        /**
         * @param databaseType The database type. Eg: HANA, DB2, etc
         * 
         * @return builder
         * 
         */
        public Builder databaseType(Output> databaseType) {
            $.databaseType = databaseType;
            return this;
        }

        /**
         * @param databaseType The database type. Eg: HANA, DB2, etc
         * 
         * @return builder
         * 
         */
        public Builder databaseType(Either databaseType) {
            return databaseType(Output.of(databaseType));
        }

        /**
         * @param databaseType The database type. Eg: HANA, DB2, etc
         * 
         * @return builder
         * 
         */
        public Builder databaseType(String databaseType) {
            return databaseType(Either.ofLeft(databaseType));
        }

        /**
         * @param databaseType The database type. Eg: HANA, DB2, etc
         * 
         * @return builder
         * 
         */
        public Builder databaseType(SAPDatabaseType databaseType) {
            return databaseType(Either.ofRight(databaseType));
        }

        /**
         * @param location The name of Azure region.
         * 
         * @return builder
         * 
         */
        public Builder location(Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The name of Azure region.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param sapProduct Defines the SAP Product type.
         * 
         * @return builder
         * 
         */
        public Builder sapProduct(Output> sapProduct) {
            $.sapProduct = sapProduct;
            return this;
        }

        /**
         * @param sapProduct Defines the SAP Product type.
         * 
         * @return builder
         * 
         */
        public Builder sapProduct(Either sapProduct) {
            return sapProduct(Output.of(sapProduct));
        }

        /**
         * @param sapProduct Defines the SAP Product type.
         * 
         * @return builder
         * 
         */
        public Builder sapProduct(String sapProduct) {
            return sapProduct(Either.ofLeft(sapProduct));
        }

        /**
         * @param sapProduct Defines the SAP Product type.
         * 
         * @return builder
         * 
         */
        public Builder sapProduct(SAPProductType sapProduct) {
            return sapProduct(Either.ofRight(sapProduct));
        }

        public GetSAPAvailabilityZoneDetailsArgs build() {
            if ($.appLocation == null) {
                throw new MissingRequiredPropertyException("GetSAPAvailabilityZoneDetailsArgs", "appLocation");
            }
            if ($.databaseType == null) {
                throw new MissingRequiredPropertyException("GetSAPAvailabilityZoneDetailsArgs", "databaseType");
            }
            if ($.location == null) {
                throw new MissingRequiredPropertyException("GetSAPAvailabilityZoneDetailsArgs", "location");
            }
            if ($.sapProduct == null) {
                throw new MissingRequiredPropertyException("GetSAPAvailabilityZoneDetailsArgs", "sapProduct");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy