Class VideoArchival
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.VideoArchival
-
public final class VideoArchival extends Object
Video archival properties.
-
-
Constructor Summary
Constructors Constructor Description VideoArchival()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
retentionPeriod()
Get the retentionPeriod property: Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage.void
validate()
Validates the instance.VideoArchival
withRetentionPeriod(String retentionPeriod)
Set the retentionPeriod property: Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage.
-
-
-
Method Detail
-
retentionPeriod
public String retentionPeriod()
Get the retentionPeriod property: Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.- Returns:
- the retentionPeriod value.
-
withRetentionPeriod
public VideoArchival withRetentionPeriod(String retentionPeriod)
Set the retentionPeriod property: Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.- Parameters:
retentionPeriod
- the retentionPeriod value to set.- Returns:
- the VideoArchival object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-