Class DatabaseColumnProperties

java.lang.Object
com.azure.resourcemanager.sql.fluent.models.DatabaseColumnProperties

public final class DatabaseColumnProperties extends Object
Database column properties.
  • Constructor Details

    • DatabaseColumnProperties

      public DatabaseColumnProperties()
      Creates an instance of DatabaseColumnProperties class.
  • Method Details

    • columnType

      public ColumnDataType columnType()
      Get the columnType property: The column data type.
      Returns:
      the columnType value.
    • withColumnType

      public DatabaseColumnProperties withColumnType(ColumnDataType columnType)
      Set the columnType property: The column data type.
      Parameters:
      columnType - the columnType value to set.
      Returns:
      the DatabaseColumnProperties object itself.
    • temporalType

      public TableTemporalType temporalType()
      Get the temporalType property: The table temporal type.
      Returns:
      the temporalType value.
    • withTemporalType

      public DatabaseColumnProperties withTemporalType(TableTemporalType temporalType)
      Set the temporalType property: The table temporal type.
      Parameters:
      temporalType - the temporalType value to set.
      Returns:
      the DatabaseColumnProperties object itself.
    • memoryOptimized

      public Boolean memoryOptimized()
      Get the memoryOptimized property: Whether or not the column belongs to a memory optimized table.
      Returns:
      the memoryOptimized value.
    • withMemoryOptimized

      public DatabaseColumnProperties withMemoryOptimized(Boolean memoryOptimized)
      Set the memoryOptimized property: Whether or not the column belongs to a memory optimized table.
      Parameters:
      memoryOptimized - the memoryOptimized value to set.
      Returns:
      the DatabaseColumnProperties object itself.
    • isComputed

      public Boolean isComputed()
      Get the isComputed property: Whether or not the column is computed.
      Returns:
      the isComputed value.
    • withIsComputed

      public DatabaseColumnProperties withIsComputed(Boolean isComputed)
      Set the isComputed property: Whether or not the column is computed.
      Parameters:
      isComputed - the isComputed value to set.
      Returns:
      the DatabaseColumnProperties object itself.
    • validate

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