Class AccountEncryption
java.lang.Object
com.azure.resourcemanager.mediaservices.models.AccountEncryption
The AccountEncryption model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: The Key Vault identity.Get the keyVaultProperties property: The properties of the key used to encrypt the account.status()
Get the status property: The current status of the Key Vault mapping.type()
Get the type property: The type of key used to encrypt the Account Key.void
validate()
Validates the instance.withIdentity
(ResourceIdentity identity) Set the identity property: The Key Vault identity.withKeyVaultProperties
(KeyVaultProperties keyVaultProperties) Set the keyVaultProperties property: The properties of the key used to encrypt the account.Set the type property: The type of key used to encrypt the Account Key.
-
Constructor Details
-
AccountEncryption
public AccountEncryption()Creates an instance of AccountEncryption class.
-
-
Method Details
-
type
Get the type property: The type of key used to encrypt the Account Key.- Returns:
- the type value.
-
withType
Set the type property: The type of key used to encrypt the Account Key.- Parameters:
type
- the type value to set.- Returns:
- the AccountEncryption object itself.
-
keyVaultProperties
Get the keyVaultProperties property: The properties of the key used to encrypt the account.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
Set the keyVaultProperties property: The properties of the key used to encrypt the account.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set.- Returns:
- the AccountEncryption object itself.
-
identity
Get the identity property: The Key Vault identity.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The Key Vault identity.- Parameters:
identity
- the identity value to set.- Returns:
- the AccountEncryption object itself.
-
status
Get the status property: The current status of the Key Vault mapping.- Returns:
- the status value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-