Class DatabaseTableProperties

java.lang.Object
com.azure.resourcemanager.sql.fluent.models.DatabaseTableProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<DatabaseTableProperties>

public final class DatabaseTableProperties extends Object implements com.azure.json.JsonSerializable<DatabaseTableProperties>
Database table properties.
  • Constructor Details

    • DatabaseTableProperties

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

    • temporalType

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

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

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

      public DatabaseTableProperties withMemoryOptimized(Boolean memoryOptimized)
      Set the memoryOptimized property: Whether or not the table is memory optimized.
      Parameters:
      memoryOptimized - the memoryOptimized value to set.
      Returns:
      the DatabaseTableProperties object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DatabaseTableProperties>
      Throws:
      IOException
    • fromJson

      public static DatabaseTableProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DatabaseTableProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DatabaseTableProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the DatabaseTableProperties.