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

com.pulumi.azurenative.migrate.inputs.SqlDbSettingsArgs 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.azurenative.migrate.enums.AzureSqlDataBaseType;
import com.pulumi.azurenative.migrate.enums.AzureSqlPurchaseModel;
import com.pulumi.azurenative.migrate.enums.AzureSqlServiceTier;
import com.pulumi.azurenative.migrate.enums.ComputeTier;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * SQL database assessment settings.
 * 
 */
public final class SqlDbSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final SqlDbSettingsArgs Empty = new SqlDbSettingsArgs();

    /**
     * Gets or sets the azure SQL compute tier.
     * 
     */
    @Import(name="azureSqlComputeTier")
    private @Nullable Output> azureSqlComputeTier;

    /**
     * @return Gets or sets the azure SQL compute tier.
     * 
     */
    public Optional>> azureSqlComputeTier() {
        return Optional.ofNullable(this.azureSqlComputeTier);
    }

    /**
     * Gets or sets the azure PAAS SQL instance type.
     * 
     */
    @Import(name="azureSqlDataBaseType")
    private @Nullable Output> azureSqlDataBaseType;

    /**
     * @return Gets or sets the azure PAAS SQL instance type.
     * 
     */
    public Optional>> azureSqlDataBaseType() {
        return Optional.ofNullable(this.azureSqlDataBaseType);
    }

    /**
     * Gets or sets the azure SQL purchase model.
     * 
     */
    @Import(name="azureSqlPurchaseModel")
    private @Nullable Output> azureSqlPurchaseModel;

    /**
     * @return Gets or sets the azure SQL purchase model.
     * 
     */
    public Optional>> azureSqlPurchaseModel() {
        return Optional.ofNullable(this.azureSqlPurchaseModel);
    }

    /**
     * Gets or sets the azure SQL service tier.
     * 
     */
    @Import(name="azureSqlServiceTier")
    private @Nullable Output> azureSqlServiceTier;

    /**
     * @return Gets or sets the azure SQL service tier.
     * 
     */
    public Optional>> azureSqlServiceTier() {
        return Optional.ofNullable(this.azureSqlServiceTier);
    }

    private SqlDbSettingsArgs() {}

    private SqlDbSettingsArgs(SqlDbSettingsArgs $) {
        this.azureSqlComputeTier = $.azureSqlComputeTier;
        this.azureSqlDataBaseType = $.azureSqlDataBaseType;
        this.azureSqlPurchaseModel = $.azureSqlPurchaseModel;
        this.azureSqlServiceTier = $.azureSqlServiceTier;
    }

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

    public static final class Builder {
        private SqlDbSettingsArgs $;

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

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

        /**
         * @param azureSqlComputeTier Gets or sets the azure SQL compute tier.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlComputeTier(@Nullable Output> azureSqlComputeTier) {
            $.azureSqlComputeTier = azureSqlComputeTier;
            return this;
        }

        /**
         * @param azureSqlComputeTier Gets or sets the azure SQL compute tier.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlComputeTier(Either azureSqlComputeTier) {
            return azureSqlComputeTier(Output.of(azureSqlComputeTier));
        }

        /**
         * @param azureSqlComputeTier Gets or sets the azure SQL compute tier.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlComputeTier(String azureSqlComputeTier) {
            return azureSqlComputeTier(Either.ofLeft(azureSqlComputeTier));
        }

        /**
         * @param azureSqlComputeTier Gets or sets the azure SQL compute tier.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlComputeTier(ComputeTier azureSqlComputeTier) {
            return azureSqlComputeTier(Either.ofRight(azureSqlComputeTier));
        }

        /**
         * @param azureSqlDataBaseType Gets or sets the azure PAAS SQL instance type.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlDataBaseType(@Nullable Output> azureSqlDataBaseType) {
            $.azureSqlDataBaseType = azureSqlDataBaseType;
            return this;
        }

        /**
         * @param azureSqlDataBaseType Gets or sets the azure PAAS SQL instance type.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlDataBaseType(Either azureSqlDataBaseType) {
            return azureSqlDataBaseType(Output.of(azureSqlDataBaseType));
        }

        /**
         * @param azureSqlDataBaseType Gets or sets the azure PAAS SQL instance type.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlDataBaseType(String azureSqlDataBaseType) {
            return azureSqlDataBaseType(Either.ofLeft(azureSqlDataBaseType));
        }

        /**
         * @param azureSqlDataBaseType Gets or sets the azure PAAS SQL instance type.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlDataBaseType(AzureSqlDataBaseType azureSqlDataBaseType) {
            return azureSqlDataBaseType(Either.ofRight(azureSqlDataBaseType));
        }

        /**
         * @param azureSqlPurchaseModel Gets or sets the azure SQL purchase model.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlPurchaseModel(@Nullable Output> azureSqlPurchaseModel) {
            $.azureSqlPurchaseModel = azureSqlPurchaseModel;
            return this;
        }

        /**
         * @param azureSqlPurchaseModel Gets or sets the azure SQL purchase model.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlPurchaseModel(Either azureSqlPurchaseModel) {
            return azureSqlPurchaseModel(Output.of(azureSqlPurchaseModel));
        }

        /**
         * @param azureSqlPurchaseModel Gets or sets the azure SQL purchase model.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlPurchaseModel(String azureSqlPurchaseModel) {
            return azureSqlPurchaseModel(Either.ofLeft(azureSqlPurchaseModel));
        }

        /**
         * @param azureSqlPurchaseModel Gets or sets the azure SQL purchase model.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlPurchaseModel(AzureSqlPurchaseModel azureSqlPurchaseModel) {
            return azureSqlPurchaseModel(Either.ofRight(azureSqlPurchaseModel));
        }

        /**
         * @param azureSqlServiceTier Gets or sets the azure SQL service tier.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlServiceTier(@Nullable Output> azureSqlServiceTier) {
            $.azureSqlServiceTier = azureSqlServiceTier;
            return this;
        }

        /**
         * @param azureSqlServiceTier Gets or sets the azure SQL service tier.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlServiceTier(Either azureSqlServiceTier) {
            return azureSqlServiceTier(Output.of(azureSqlServiceTier));
        }

        /**
         * @param azureSqlServiceTier Gets or sets the azure SQL service tier.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlServiceTier(String azureSqlServiceTier) {
            return azureSqlServiceTier(Either.ofLeft(azureSqlServiceTier));
        }

        /**
         * @param azureSqlServiceTier Gets or sets the azure SQL service tier.
         * 
         * @return builder
         * 
         */
        public Builder azureSqlServiceTier(AzureSqlServiceTier azureSqlServiceTier) {
            return azureSqlServiceTier(Either.ofRight(azureSqlServiceTier));
        }

        public SqlDbSettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy