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

com.pulumi.azurenative.sqlvirtualmachine.inputs.SQLInstanceSettingsArgs 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.sqlvirtualmachine.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Set the server/instance-level settings for SQL Server.
 * 
 */
public final class SQLInstanceSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final SQLInstanceSettingsArgs Empty = new SQLInstanceSettingsArgs();

    /**
     * SQL Server Collation.
     * 
     */
    @Import(name="collation")
    private @Nullable Output collation;

    /**
     * @return SQL Server Collation.
     * 
     */
    public Optional> collation() {
        return Optional.ofNullable(this.collation);
    }

    /**
     * SQL Server IFI.
     * 
     */
    @Import(name="isIfiEnabled")
    private @Nullable Output isIfiEnabled;

    /**
     * @return SQL Server IFI.
     * 
     */
    public Optional> isIfiEnabled() {
        return Optional.ofNullable(this.isIfiEnabled);
    }

    /**
     * SQL Server LPIM.
     * 
     */
    @Import(name="isLpimEnabled")
    private @Nullable Output isLpimEnabled;

    /**
     * @return SQL Server LPIM.
     * 
     */
    public Optional> isLpimEnabled() {
        return Optional.ofNullable(this.isLpimEnabled);
    }

    /**
     * SQL Server Optimize for Adhoc workloads.
     * 
     */
    @Import(name="isOptimizeForAdHocWorkloadsEnabled")
    private @Nullable Output isOptimizeForAdHocWorkloadsEnabled;

    /**
     * @return SQL Server Optimize for Adhoc workloads.
     * 
     */
    public Optional> isOptimizeForAdHocWorkloadsEnabled() {
        return Optional.ofNullable(this.isOptimizeForAdHocWorkloadsEnabled);
    }

    /**
     * SQL Server MAXDOP.
     * 
     */
    @Import(name="maxDop")
    private @Nullable Output maxDop;

    /**
     * @return SQL Server MAXDOP.
     * 
     */
    public Optional> maxDop() {
        return Optional.ofNullable(this.maxDop);
    }

    /**
     * SQL Server maximum memory.
     * 
     */
    @Import(name="maxServerMemoryMB")
    private @Nullable Output maxServerMemoryMB;

    /**
     * @return SQL Server maximum memory.
     * 
     */
    public Optional> maxServerMemoryMB() {
        return Optional.ofNullable(this.maxServerMemoryMB);
    }

    /**
     * SQL Server minimum memory.
     * 
     */
    @Import(name="minServerMemoryMB")
    private @Nullable Output minServerMemoryMB;

    /**
     * @return SQL Server minimum memory.
     * 
     */
    public Optional> minServerMemoryMB() {
        return Optional.ofNullable(this.minServerMemoryMB);
    }

    private SQLInstanceSettingsArgs() {}

    private SQLInstanceSettingsArgs(SQLInstanceSettingsArgs $) {
        this.collation = $.collation;
        this.isIfiEnabled = $.isIfiEnabled;
        this.isLpimEnabled = $.isLpimEnabled;
        this.isOptimizeForAdHocWorkloadsEnabled = $.isOptimizeForAdHocWorkloadsEnabled;
        this.maxDop = $.maxDop;
        this.maxServerMemoryMB = $.maxServerMemoryMB;
        this.minServerMemoryMB = $.minServerMemoryMB;
    }

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

    public static final class Builder {
        private SQLInstanceSettingsArgs $;

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

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

        /**
         * @param collation SQL Server Collation.
         * 
         * @return builder
         * 
         */
        public Builder collation(@Nullable Output collation) {
            $.collation = collation;
            return this;
        }

        /**
         * @param collation SQL Server Collation.
         * 
         * @return builder
         * 
         */
        public Builder collation(String collation) {
            return collation(Output.of(collation));
        }

        /**
         * @param isIfiEnabled SQL Server IFI.
         * 
         * @return builder
         * 
         */
        public Builder isIfiEnabled(@Nullable Output isIfiEnabled) {
            $.isIfiEnabled = isIfiEnabled;
            return this;
        }

        /**
         * @param isIfiEnabled SQL Server IFI.
         * 
         * @return builder
         * 
         */
        public Builder isIfiEnabled(Boolean isIfiEnabled) {
            return isIfiEnabled(Output.of(isIfiEnabled));
        }

        /**
         * @param isLpimEnabled SQL Server LPIM.
         * 
         * @return builder
         * 
         */
        public Builder isLpimEnabled(@Nullable Output isLpimEnabled) {
            $.isLpimEnabled = isLpimEnabled;
            return this;
        }

        /**
         * @param isLpimEnabled SQL Server LPIM.
         * 
         * @return builder
         * 
         */
        public Builder isLpimEnabled(Boolean isLpimEnabled) {
            return isLpimEnabled(Output.of(isLpimEnabled));
        }

        /**
         * @param isOptimizeForAdHocWorkloadsEnabled SQL Server Optimize for Adhoc workloads.
         * 
         * @return builder
         * 
         */
        public Builder isOptimizeForAdHocWorkloadsEnabled(@Nullable Output isOptimizeForAdHocWorkloadsEnabled) {
            $.isOptimizeForAdHocWorkloadsEnabled = isOptimizeForAdHocWorkloadsEnabled;
            return this;
        }

        /**
         * @param isOptimizeForAdHocWorkloadsEnabled SQL Server Optimize for Adhoc workloads.
         * 
         * @return builder
         * 
         */
        public Builder isOptimizeForAdHocWorkloadsEnabled(Boolean isOptimizeForAdHocWorkloadsEnabled) {
            return isOptimizeForAdHocWorkloadsEnabled(Output.of(isOptimizeForAdHocWorkloadsEnabled));
        }

        /**
         * @param maxDop SQL Server MAXDOP.
         * 
         * @return builder
         * 
         */
        public Builder maxDop(@Nullable Output maxDop) {
            $.maxDop = maxDop;
            return this;
        }

        /**
         * @param maxDop SQL Server MAXDOP.
         * 
         * @return builder
         * 
         */
        public Builder maxDop(Integer maxDop) {
            return maxDop(Output.of(maxDop));
        }

        /**
         * @param maxServerMemoryMB SQL Server maximum memory.
         * 
         * @return builder
         * 
         */
        public Builder maxServerMemoryMB(@Nullable Output maxServerMemoryMB) {
            $.maxServerMemoryMB = maxServerMemoryMB;
            return this;
        }

        /**
         * @param maxServerMemoryMB SQL Server maximum memory.
         * 
         * @return builder
         * 
         */
        public Builder maxServerMemoryMB(Integer maxServerMemoryMB) {
            return maxServerMemoryMB(Output.of(maxServerMemoryMB));
        }

        /**
         * @param minServerMemoryMB SQL Server minimum memory.
         * 
         * @return builder
         * 
         */
        public Builder minServerMemoryMB(@Nullable Output minServerMemoryMB) {
            $.minServerMemoryMB = minServerMemoryMB;
            return this;
        }

        /**
         * @param minServerMemoryMB SQL Server minimum memory.
         * 
         * @return builder
         * 
         */
        public Builder minServerMemoryMB(Integer minServerMemoryMB) {
            return minServerMemoryMB(Output.of(minServerMemoryMB));
        }

        public SQLInstanceSettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy