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

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

import com.pulumi.azurenative.sqlvirtualmachine.outputs.SQLStorageSettingsResponse;
import com.pulumi.azurenative.sqlvirtualmachine.outputs.SQLTempDbSettingsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class StorageConfigurationSettingsResponse {
    /**
     * @return Disk configuration to apply to SQL Server.
     * 
     */
    private @Nullable String diskConfigurationType;
    /**
     * @return SQL Server Data Storage Settings.
     * 
     */
    private @Nullable SQLStorageSettingsResponse sqlDataSettings;
    /**
     * @return SQL Server Log Storage Settings.
     * 
     */
    private @Nullable SQLStorageSettingsResponse sqlLogSettings;
    /**
     * @return SQL Server SystemDb Storage on DataPool if true.
     * 
     */
    private @Nullable Boolean sqlSystemDbOnDataDisk;
    /**
     * @return SQL Server TempDb Storage Settings.
     * 
     */
    private @Nullable SQLTempDbSettingsResponse sqlTempDbSettings;
    /**
     * @return Storage workload type.
     * 
     */
    private @Nullable String storageWorkloadType;

    private StorageConfigurationSettingsResponse() {}
    /**
     * @return Disk configuration to apply to SQL Server.
     * 
     */
    public Optional diskConfigurationType() {
        return Optional.ofNullable(this.diskConfigurationType);
    }
    /**
     * @return SQL Server Data Storage Settings.
     * 
     */
    public Optional sqlDataSettings() {
        return Optional.ofNullable(this.sqlDataSettings);
    }
    /**
     * @return SQL Server Log Storage Settings.
     * 
     */
    public Optional sqlLogSettings() {
        return Optional.ofNullable(this.sqlLogSettings);
    }
    /**
     * @return SQL Server SystemDb Storage on DataPool if true.
     * 
     */
    public Optional sqlSystemDbOnDataDisk() {
        return Optional.ofNullable(this.sqlSystemDbOnDataDisk);
    }
    /**
     * @return SQL Server TempDb Storage Settings.
     * 
     */
    public Optional sqlTempDbSettings() {
        return Optional.ofNullable(this.sqlTempDbSettings);
    }
    /**
     * @return Storage workload type.
     * 
     */
    public Optional storageWorkloadType() {
        return Optional.ofNullable(this.storageWorkloadType);
    }

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

    public static Builder builder(StorageConfigurationSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String diskConfigurationType;
        private @Nullable SQLStorageSettingsResponse sqlDataSettings;
        private @Nullable SQLStorageSettingsResponse sqlLogSettings;
        private @Nullable Boolean sqlSystemDbOnDataDisk;
        private @Nullable SQLTempDbSettingsResponse sqlTempDbSettings;
        private @Nullable String storageWorkloadType;
        public Builder() {}
        public Builder(StorageConfigurationSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.diskConfigurationType = defaults.diskConfigurationType;
    	      this.sqlDataSettings = defaults.sqlDataSettings;
    	      this.sqlLogSettings = defaults.sqlLogSettings;
    	      this.sqlSystemDbOnDataDisk = defaults.sqlSystemDbOnDataDisk;
    	      this.sqlTempDbSettings = defaults.sqlTempDbSettings;
    	      this.storageWorkloadType = defaults.storageWorkloadType;
        }

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

            this.diskConfigurationType = diskConfigurationType;
            return this;
        }
        @CustomType.Setter
        public Builder sqlDataSettings(@Nullable SQLStorageSettingsResponse sqlDataSettings) {

            this.sqlDataSettings = sqlDataSettings;
            return this;
        }
        @CustomType.Setter
        public Builder sqlLogSettings(@Nullable SQLStorageSettingsResponse sqlLogSettings) {

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

            this.sqlSystemDbOnDataDisk = sqlSystemDbOnDataDisk;
            return this;
        }
        @CustomType.Setter
        public Builder sqlTempDbSettings(@Nullable SQLTempDbSettingsResponse sqlTempDbSettings) {

            this.sqlTempDbSettings = sqlTempDbSettings;
            return this;
        }
        @CustomType.Setter
        public Builder storageWorkloadType(@Nullable String storageWorkloadType) {

            this.storageWorkloadType = storageWorkloadType;
            return this;
        }
        public StorageConfigurationSettingsResponse build() {
            final var _resultValue = new StorageConfigurationSettingsResponse();
            _resultValue.diskConfigurationType = diskConfigurationType;
            _resultValue.sqlDataSettings = sqlDataSettings;
            _resultValue.sqlLogSettings = sqlLogSettings;
            _resultValue.sqlSystemDbOnDataDisk = sqlSystemDbOnDataDisk;
            _resultValue.sqlTempDbSettings = sqlTempDbSettings;
            _resultValue.storageWorkloadType = storageWorkloadType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy