Class KeyVaultProperties
java.lang.Object
com.azure.resourcemanager.mediaservices.models.KeyVaultProperties
The KeyVaultProperties model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the currentKeyIdentifier property: The current key used to encrypt the Media Services account, including the key version.Get the keyIdentifier property: The URL of the Key Vault key used to encrypt the account.void
validate()
Validates the instance.withKeyIdentifier
(String keyIdentifier) Set the keyIdentifier property: The URL of the Key Vault key used to encrypt the account.
-
Constructor Details
-
KeyVaultProperties
public KeyVaultProperties()Creates an instance of KeyVaultProperties class.
-
-
Method Details
-
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
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
Get the currentKeyIdentifier property: The current key used to encrypt the Media Services 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.
-