Class KeyVaultProperties
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.KeyVaultProperties
-
public final class KeyVaultProperties extends Object
The details for accessing the encryption keys in Key Vault.
-
-
Constructor Summary
Constructors Constructor Description KeyVaultProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
currentKeyIdentifier()
Get the currentKeyIdentifier property: The current key used to encrypt Video Analyzer account, including the key version.String
keyIdentifier()
Get the keyIdentifier property: The URL of the Key Vault key used to encrypt the account.void
validate()
Validates the instance.KeyVaultProperties
withKeyIdentifier(String keyIdentifier)
Set the keyIdentifier property: The URL of the Key Vault key used to encrypt the account.
-
-
-
Method Detail
-
keyIdentifier
public String keyIdentifier()
Get the keyIdentifier property: The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).- Returns:
- the keyIdentifier value.
-
withKeyIdentifier
public KeyVaultProperties withKeyIdentifier(String keyIdentifier)
Set the keyIdentifier property: The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).- Parameters:
keyIdentifier
- the keyIdentifier value to set.- Returns:
- the KeyVaultProperties object itself.
-
currentKeyIdentifier
public String currentKeyIdentifier()
Get the currentKeyIdentifier property: The current key used to encrypt Video Analyzer account, including the key version.- Returns:
- the currentKeyIdentifier value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-