Class KeyVaultProperties

java.lang.Object
com.azure.resourcemanager.mediaservices.models.KeyVaultProperties

public final class KeyVaultProperties extends Object
The KeyVaultProperties model.
  • Constructor Details

    • KeyVaultProperties

      public KeyVaultProperties()
      Creates an instance of KeyVaultProperties class.
  • Method Details

    • 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 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.