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

com.pulumi.azurenative.migrate.inputs.SqlMiSettingsArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.AzureSqlInstanceType;
import com.pulumi.azurenative.migrate.enums.AzureSqlServiceTier;
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 managed instance assessment settings.
 * 
 */
public final class SqlMiSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final SqlMiSettingsArgs Empty = new SqlMiSettingsArgs();

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

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

    /**
     * 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 SqlMiSettingsArgs() {}

    private SqlMiSettingsArgs(SqlMiSettingsArgs $) {
        this.azureSqlInstanceType = $.azureSqlInstanceType;
        this.azureSqlServiceTier = $.azureSqlServiceTier;
    }

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

    public static final class Builder {
        private SqlMiSettingsArgs $;

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

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

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

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

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

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

        /**
         * @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 SqlMiSettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy