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

com.pulumi.azurenative.sqlvirtualmachine.outputs.SQLInstanceSettingsResponse 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.sqlvirtualmachine.outputs;

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

@CustomType
public final class SQLInstanceSettingsResponse {
    /**
     * @return SQL Server Collation.
     * 
     */
    private @Nullable String collation;
    /**
     * @return SQL Server IFI.
     * 
     */
    private @Nullable Boolean isIfiEnabled;
    /**
     * @return SQL Server LPIM.
     * 
     */
    private @Nullable Boolean isLpimEnabled;
    /**
     * @return SQL Server Optimize for Adhoc workloads.
     * 
     */
    private @Nullable Boolean isOptimizeForAdHocWorkloadsEnabled;
    /**
     * @return SQL Server MAXDOP.
     * 
     */
    private @Nullable Integer maxDop;
    /**
     * @return SQL Server maximum memory.
     * 
     */
    private @Nullable Integer maxServerMemoryMB;
    /**
     * @return SQL Server minimum memory.
     * 
     */
    private @Nullable Integer minServerMemoryMB;

    private SQLInstanceSettingsResponse() {}
    /**
     * @return SQL Server Collation.
     * 
     */
    public Optional collation() {
        return Optional.ofNullable(this.collation);
    }
    /**
     * @return SQL Server IFI.
     * 
     */
    public Optional isIfiEnabled() {
        return Optional.ofNullable(this.isIfiEnabled);
    }
    /**
     * @return SQL Server LPIM.
     * 
     */
    public Optional isLpimEnabled() {
        return Optional.ofNullable(this.isLpimEnabled);
    }
    /**
     * @return SQL Server Optimize for Adhoc workloads.
     * 
     */
    public Optional isOptimizeForAdHocWorkloadsEnabled() {
        return Optional.ofNullable(this.isOptimizeForAdHocWorkloadsEnabled);
    }
    /**
     * @return SQL Server MAXDOP.
     * 
     */
    public Optional maxDop() {
        return Optional.ofNullable(this.maxDop);
    }
    /**
     * @return SQL Server maximum memory.
     * 
     */
    public Optional maxServerMemoryMB() {
        return Optional.ofNullable(this.maxServerMemoryMB);
    }
    /**
     * @return SQL Server minimum memory.
     * 
     */
    public Optional minServerMemoryMB() {
        return Optional.ofNullable(this.minServerMemoryMB);
    }

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

    public static Builder builder(SQLInstanceSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String collation;
        private @Nullable Boolean isIfiEnabled;
        private @Nullable Boolean isLpimEnabled;
        private @Nullable Boolean isOptimizeForAdHocWorkloadsEnabled;
        private @Nullable Integer maxDop;
        private @Nullable Integer maxServerMemoryMB;
        private @Nullable Integer minServerMemoryMB;
        public Builder() {}
        public Builder(SQLInstanceSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.collation = defaults.collation;
    	      this.isIfiEnabled = defaults.isIfiEnabled;
    	      this.isLpimEnabled = defaults.isLpimEnabled;
    	      this.isOptimizeForAdHocWorkloadsEnabled = defaults.isOptimizeForAdHocWorkloadsEnabled;
    	      this.maxDop = defaults.maxDop;
    	      this.maxServerMemoryMB = defaults.maxServerMemoryMB;
    	      this.minServerMemoryMB = defaults.minServerMemoryMB;
        }

        @CustomType.Setter
        public Builder collation(@Nullable String collation) {

            this.collation = collation;
            return this;
        }
        @CustomType.Setter
        public Builder isIfiEnabled(@Nullable Boolean isIfiEnabled) {

            this.isIfiEnabled = isIfiEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder isLpimEnabled(@Nullable Boolean isLpimEnabled) {

            this.isLpimEnabled = isLpimEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder isOptimizeForAdHocWorkloadsEnabled(@Nullable Boolean isOptimizeForAdHocWorkloadsEnabled) {

            this.isOptimizeForAdHocWorkloadsEnabled = isOptimizeForAdHocWorkloadsEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder maxDop(@Nullable Integer maxDop) {

            this.maxDop = maxDop;
            return this;
        }
        @CustomType.Setter
        public Builder maxServerMemoryMB(@Nullable Integer maxServerMemoryMB) {

            this.maxServerMemoryMB = maxServerMemoryMB;
            return this;
        }
        @CustomType.Setter
        public Builder minServerMemoryMB(@Nullable Integer minServerMemoryMB) {

            this.minServerMemoryMB = minServerMemoryMB;
            return this;
        }
        public SQLInstanceSettingsResponse build() {
            final var _resultValue = new SQLInstanceSettingsResponse();
            _resultValue.collation = collation;
            _resultValue.isIfiEnabled = isIfiEnabled;
            _resultValue.isLpimEnabled = isLpimEnabled;
            _resultValue.isOptimizeForAdHocWorkloadsEnabled = isOptimizeForAdHocWorkloadsEnabled;
            _resultValue.maxDop = maxDop;
            _resultValue.maxServerMemoryMB = maxServerMemoryMB;
            _resultValue.minServerMemoryMB = minServerMemoryMB;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy