Encryption Class
- java.
lang. Object - com.
azure. resourcemanager. databricks. models. Encryption
- com.
Implements
public final class Encryption
implements JsonSerializable<Encryption>
The object that contains details of encryption used on the workspace.
Constructor Summary
| Constructor | Description |
|---|---|
| Encryption() |
Creates an instance of Encryption class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption from the Json |
| String |
keyName()
Get the key |
|
Key |
keySource()
Get the key |
| String |
keyVaultUri()
Get the key |
| String |
keyVersion()
Get the key |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Encryption |
withKeyName(String keyName)
Set the key |
| Encryption |
withKeySource(KeySource keySource)
Set the key |
| Encryption |
withKeyVaultUri(String keyVaultUri)
Set the key |
| Encryption |
withKeyVersion(String keyVersion)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
Encryption
public Encryption()
Creates an instance of Encryption class.
Method Details
fromJson
public static Encryption fromJson(JsonReader jsonReader)
Reads an instance of Encryption from the JsonReader.
Parameters:
Returns:
Throws:
keyName
public String keyName()
Get the keyName property: The name of KeyVault key.
Returns:
keySource
public KeySource keySource()
Get the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault.
Returns:
keyVaultUri
public String keyVaultUri()
Get the keyVaultUri property: The Uri of KeyVault.
Returns:
keyVersion
public String keyVersion()
Get the keyVersion property: The version of KeyVault key.
Returns:
toJson
validate
public void validate()
Validates the instance.
withKeyName
public Encryption withKeyName(String keyName)
Set the keyName property: The name of KeyVault key.
Parameters:
Returns:
withKeySource
public Encryption withKeySource(KeySource keySource)
Set the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Default, Microsoft.Keyvault.
Parameters:
Returns:
withKeyVaultUri
public Encryption withKeyVaultUri(String keyVaultUri)
Set the keyVaultUri property: The Uri of KeyVault.
Parameters:
Returns:
withKeyVersion
public Encryption withKeyVersion(String keyVersion)
Set the keyVersion property: The version of KeyVault key.
Parameters:
Returns: