Class AssetProperties
java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.AssetProperties
The Asset properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the alternateId property: The alternate ID of the Asset.assetId()
Get the assetId property: The Asset ID.Get the container property: The name of the asset blob container.created()
Get the created property: The creation date of the Asset.Get the description property: The Asset description.Get the lastModified property: The last modified date of the Asset.Get the storageAccountName property: The name of the storage account.Get the storageEncryptionFormat property: The Asset encryption format.void
validate()
Validates the instance.withAlternateId
(String alternateId) Set the alternateId property: The alternate ID of the Asset.withContainer
(String container) Set the container property: The name of the asset blob container.withDescription
(String description) Set the description property: The Asset description.withStorageAccountName
(String storageAccountName) Set the storageAccountName property: The name of the storage account.
-
Constructor Details
-
AssetProperties
public AssetProperties()Creates an instance of AssetProperties class.
-
-
Method Details
-
assetId
Get the assetId property: The Asset ID.- Returns:
- the assetId value.
-
created
Get the created property: The creation date of the Asset.- Returns:
- the created value.
-
lastModified
Get the lastModified property: The last modified date of the Asset.- Returns:
- the lastModified value.
-
alternateId
Get the alternateId property: The alternate ID of the Asset.- Returns:
- the alternateId value.
-
withAlternateId
Set the alternateId property: The alternate ID of the Asset.- Parameters:
alternateId
- the alternateId value to set.- Returns:
- the AssetProperties object itself.
-
description
Get the description property: The Asset description.- Returns:
- the description value.
-
withDescription
Set the description property: The Asset description.- Parameters:
description
- the description value to set.- Returns:
- the AssetProperties object itself.
-
container
Get the container property: The name of the asset blob container.- Returns:
- the container value.
-
withContainer
Set the container property: The name of the asset blob container.- Parameters:
container
- the container value to set.- Returns:
- the AssetProperties object itself.
-
storageAccountName
Get the storageAccountName property: The name of the storage account.- Returns:
- the storageAccountName value.
-
withStorageAccountName
Set the storageAccountName property: The name of the storage account.- Parameters:
storageAccountName
- the storageAccountName value to set.- Returns:
- the AssetProperties object itself.
-
storageEncryptionFormat
Get the storageEncryptionFormat property: The Asset encryption format. One of None or MediaStorageEncryption.- Returns:
- the storageEncryptionFormat value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-