DatabaseKey Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. DatabaseKey
- com.
Implements
public final class DatabaseKey
implements JsonSerializable<DatabaseKey>
Database level key used for encryption at rest.
Constructor Summary
| Constructor | Description |
|---|---|
| DatabaseKey() |
Creates an instance of Database |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
creationDate()
Get the creation |
|
static
Database |
fromJson(JsonReader jsonReader)
Reads an instance of Database |
| String |
subregion()
Get the subregion property: Subregion of the server key. |
| String |
thumbprint()
Get the thumbprint property: Thumbprint of the database key. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Database |
type()
Get the type property: The database key type. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
DatabaseKey
public DatabaseKey()
Creates an instance of DatabaseKey class.
Method Details
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: The database key creation date.
Returns:
fromJson
public static DatabaseKey fromJson(JsonReader jsonReader)
Reads an instance of DatabaseKey from the JsonReader.
Parameters:
Returns:
Throws:
subregion
public String subregion()
Get the subregion property: Subregion of the server key.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: Thumbprint of the database key.
Returns:
toJson
type
public DatabaseKeyType type()
Get the type property: The database key type. Only supported value is 'AzureKeyVault'.
Returns:
validate
public void validate()
Validates the instance.