Class AssetInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mediaservices.fluent.models.AssetInner
public final class AssetInner
extends com.azure.core.management.ProxyResource
An Asset.
-
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.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to this resource.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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AssetInner
public AssetInner()Creates an instance of AssetInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system metadata relating to this resource.- Returns:
- the systemData value.
-
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 AssetInner 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 AssetInner 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 AssetInner 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 AssetInner 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.
-