Encryption Class
- java.
lang. Object - com.
azure. resourcemanager. deviceupdate. models. Encryption
- com.
Implements
public final class Encryption
implements JsonSerializable<Encryption>
The CMK encryption settings on the Device Update account.
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 |
keyVaultKeyUri()
Get the key |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
userAssignedIdentity()
Get the user |
| void |
validate()
Validates the instance. |
| Encryption |
withKeyVaultKeyUri(String keyVaultKeyUri)
Set the key |
| Encryption |
withUserAssignedIdentity(String userAssignedIdentity)
Set the user |
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:
keyVaultKeyUri
public String keyVaultKeyUri()
Get the keyVaultKeyUri property: The URI of the key vault.
Returns:
toJson
userAssignedIdentity
public String userAssignedIdentity()
Get the userAssignedIdentity property: The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account.
Returns:
validate
public void validate()
Validates the instance.
withKeyVaultKeyUri
public Encryption withKeyVaultKeyUri(String keyVaultKeyUri)
Set the keyVaultKeyUri property: The URI of the key vault.
Parameters:
Returns:
withUserAssignedIdentity
public Encryption withUserAssignedIdentity(String userAssignedIdentity)
Set the userAssignedIdentity property: The full resourceId of the user assigned identity to be used for key vault access. Identity has to be also assigned to the Account.
Parameters:
Returns: