Class StorageEncryptedAssetDecryptionDataInner

java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.StorageEncryptedAssetDecryptionDataInner

public final class StorageEncryptedAssetDecryptionDataInner extends Object
Data needed to decrypt asset files encrypted with legacy storage encryption.
  • Constructor Details

    • StorageEncryptedAssetDecryptionDataInner

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

    • key

      public byte[] key()
      Get the key property: The Asset File storage encryption key.
      Returns:
      the key value.
    • withKey

      public StorageEncryptedAssetDecryptionDataInner withKey(byte[] key)
      Set the key property: The Asset File storage encryption key.
      Parameters:
      key - the key value to set.
      Returns:
      the StorageEncryptedAssetDecryptionDataInner object itself.
    • assetFileEncryptionMetadata

      public List<AssetFileEncryptionMetadata> assetFileEncryptionMetadata()
      Get the assetFileEncryptionMetadata property: Asset File encryption metadata.
      Returns:
      the assetFileEncryptionMetadata value.
    • withAssetFileEncryptionMetadata

      public StorageEncryptedAssetDecryptionDataInner withAssetFileEncryptionMetadata(List<AssetFileEncryptionMetadata> assetFileEncryptionMetadata)
      Set the assetFileEncryptionMetadata property: Asset File encryption metadata.
      Parameters:
      assetFileEncryptionMetadata - the assetFileEncryptionMetadata value to set.
      Returns:
      the StorageEncryptedAssetDecryptionDataInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.