Class SqlTempDbSettings

java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.SqlTempDbSettings

public final class SqlTempDbSettings extends Object
Set tempDb storage settings for SQL Server.
  • Constructor Details

    • SqlTempDbSettings

      public SqlTempDbSettings()
  • Method Details

    • dataFileSize

      public Integer dataFileSize()
      Get the dataFileSize property: SQL Server tempdb data file size.
      Returns:
      the dataFileSize value.
    • withDataFileSize

      public SqlTempDbSettings withDataFileSize(Integer dataFileSize)
      Set the dataFileSize property: SQL Server tempdb data file size.
      Parameters:
      dataFileSize - the dataFileSize value to set.
      Returns:
      the SqlTempDbSettings object itself.
    • dataGrowth

      public Integer dataGrowth()
      Get the dataGrowth property: SQL Server tempdb data file autoGrowth size.
      Returns:
      the dataGrowth value.
    • withDataGrowth

      public SqlTempDbSettings withDataGrowth(Integer dataGrowth)
      Set the dataGrowth property: SQL Server tempdb data file autoGrowth size.
      Parameters:
      dataGrowth - the dataGrowth value to set.
      Returns:
      the SqlTempDbSettings object itself.
    • logFileSize

      public Integer logFileSize()
      Get the logFileSize property: SQL Server tempdb log file size.
      Returns:
      the logFileSize value.
    • withLogFileSize

      public SqlTempDbSettings withLogFileSize(Integer logFileSize)
      Set the logFileSize property: SQL Server tempdb log file size.
      Parameters:
      logFileSize - the logFileSize value to set.
      Returns:
      the SqlTempDbSettings object itself.
    • logGrowth

      public Integer logGrowth()
      Get the logGrowth property: SQL Server tempdb log file autoGrowth size.
      Returns:
      the logGrowth value.
    • withLogGrowth

      public SqlTempDbSettings withLogGrowth(Integer logGrowth)
      Set the logGrowth property: SQL Server tempdb log file autoGrowth size.
      Parameters:
      logGrowth - the logGrowth value to set.
      Returns:
      the SqlTempDbSettings object itself.
    • dataFileCount

      public Integer dataFileCount()
      Get the dataFileCount property: SQL Server tempdb data file count.
      Returns:
      the dataFileCount value.
    • withDataFileCount

      public SqlTempDbSettings withDataFileCount(Integer dataFileCount)
      Set the dataFileCount property: SQL Server tempdb data file count.
      Parameters:
      dataFileCount - the dataFileCount value to set.
      Returns:
      the SqlTempDbSettings object itself.
    • persistFolder

      public Boolean persistFolder()
      Get the persistFolder property: SQL Server tempdb persist folder choice.
      Returns:
      the persistFolder value.
    • withPersistFolder

      public SqlTempDbSettings withPersistFolder(Boolean persistFolder)
      Set the persistFolder property: SQL Server tempdb persist folder choice.
      Parameters:
      persistFolder - the persistFolder value to set.
      Returns:
      the SqlTempDbSettings object itself.
    • persistFolderPath

      public String persistFolderPath()
      Get the persistFolderPath property: SQL Server tempdb persist folder location.
      Returns:
      the persistFolderPath value.
    • withPersistFolderPath

      public SqlTempDbSettings withPersistFolderPath(String persistFolderPath)
      Set the persistFolderPath property: SQL Server tempdb persist folder location.
      Parameters:
      persistFolderPath - the persistFolderPath value to set.
      Returns:
      the SqlTempDbSettings object itself.
    • luns

      public List<Integer> luns()
      Get the luns property: Logical Unit Numbers for the disks.
      Returns:
      the luns value.
    • withLuns

      public SqlTempDbSettings withLuns(List<Integer> luns)
      Set the luns property: Logical Unit Numbers for the disks.
      Parameters:
      luns - the luns value to set.
      Returns:
      the SqlTempDbSettings object itself.
    • defaultFilePath

      public String defaultFilePath()
      Get the defaultFilePath property: SQL Server default file path.
      Returns:
      the defaultFilePath value.
    • withDefaultFilePath

      public SqlTempDbSettings withDefaultFilePath(String defaultFilePath)
      Set the defaultFilePath property: SQL Server default file path.
      Parameters:
      defaultFilePath - the defaultFilePath value to set.
      Returns:
      the SqlTempDbSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.