Del via


DatabaseTableProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.DatabaseTableProperties

Implements

public final class DatabaseTableProperties
implements JsonSerializable<DatabaseTableProperties>

Database table properties.

Constructor Summary

Constructor Description
DatabaseTableProperties()

Creates an instance of DatabaseTableProperties class.

Method Summary

Modifier and Type Method and Description
static DatabaseTableProperties fromJson(JsonReader jsonReader)

Reads an instance of DatabaseTableProperties from the JsonReader.

Boolean memoryOptimized()

Get the memoryOptimized property: Whether or not the table is memory optimized.

TableTemporalType temporalType()

Get the temporalType property: The table temporal type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DatabaseTableProperties withMemoryOptimized(Boolean memoryOptimized)

Set the memoryOptimized property: Whether or not the table is memory optimized.

DatabaseTableProperties withTemporalType(TableTemporalType temporalType)

Set the temporalType property: The table temporal type.

Methods inherited from java.lang.Object

Constructor Details

DatabaseTableProperties

public DatabaseTableProperties()

Creates an instance of DatabaseTableProperties class.

Method Details

fromJson

public static DatabaseTableProperties fromJson(JsonReader jsonReader)

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.

memoryOptimized

public Boolean memoryOptimized()

Get the memoryOptimized property: Whether or not the table is memory optimized.

Returns:

the memoryOptimized value.

temporalType

public TableTemporalType temporalType()

Get the temporalType property: The table temporal type.

Returns:

the temporalType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to