Class AccountEncryption
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.AccountEncryption
-
public final class AccountEncryption extends Object
Defines how the Video Analyzer account is (optionally) encrypted.
-
-
Constructor Summary
Constructors Constructor Description AccountEncryption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceIdentity
identity()
Get the identity property: The Key Vault identity.KeyVaultProperties
keyVaultProperties()
Get the keyVaultProperties property: The properties of the key used to encrypt the account.String
status()
Get the status property: The current status of the Key Vault mapping.AccountEncryptionKeyType
type()
Get the type property: The type of key used to encrypt the Account Key.void
validate()
Validates the instance.AccountEncryption
withIdentity(ResourceIdentity identity)
Set the identity property: The Key Vault identity.AccountEncryption
withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: The properties of the key used to encrypt the account.AccountEncryption
withType(AccountEncryptionKeyType type)
Set the type property: The type of key used to encrypt the Account Key.
-
-
-
Method Detail
-
type
public AccountEncryptionKeyType type()
Get the type property: The type of key used to encrypt the Account Key.- Returns:
- the type value.
-
withType
public AccountEncryption withType(AccountEncryptionKeyType type)
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
public KeyVaultProperties keyVaultProperties()
Get the keyVaultProperties property: The properties of the key used to encrypt the account.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
public AccountEncryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
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
public ResourceIdentity identity()
Get the identity property: The Key Vault identity.- Returns:
- the identity value.
-
withIdentity
public AccountEncryption withIdentity(ResourceIdentity identity)
Set the identity property: The Key Vault identity.- Parameters:
identity
- the identity value to set.- Returns:
- the AccountEncryption object itself.
-
status
public String 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.
-
-