Class StorageEncryptedAssetDecryptionDataInner
java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.StorageEncryptedAssetDecryptionDataInner
Data needed to decrypt asset files encrypted with legacy storage encryption.
-
Constructor Summary
ConstructorDescriptionCreates an instance of StorageEncryptedAssetDecryptionDataInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the assetFileEncryptionMetadata property: Asset File encryption metadata.byte[]
key()
Get the key property: The Asset File storage encryption key.void
validate()
Validates the instance.withAssetFileEncryptionMetadata
(List<AssetFileEncryptionMetadata> assetFileEncryptionMetadata) Set the assetFileEncryptionMetadata property: Asset File encryption metadata.withKey
(byte[] key) Set the key property: The Asset File storage encryption key.
-
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
Set the key property: The Asset File storage encryption key.- Parameters:
key
- the key value to set.- Returns:
- the StorageEncryptedAssetDecryptionDataInner object itself.
-
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.
-