public static class MediaAsset.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MediaAsset.Builder |
bucketName(String bucketName)
The name of the object storage bucket where this represented asset is located.
|
MediaAsset |
build() |
MediaAsset.Builder |
compartmentId(String compartmentId)
The ID of the compartment containing the MediaAsset.
|
MediaAsset.Builder |
copy(MediaAsset model) |
MediaAsset.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MediaAsset.Builder |
displayName(String displayName)
A user-friendly name.
|
MediaAsset.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
MediaAsset.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
MediaAsset.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the MediaAsset.
|
MediaAsset.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
MediaAsset.Builder |
masterMediaAssetId(String masterMediaAssetId)
The ID of the senior most asset from which this asset is derived.
|
MediaAsset.Builder |
mediaAssetTags(List<MediaAssetTag> mediaAssetTags)
List of tags for the MediaAsset.
|
MediaAsset.Builder |
mediaWorkflowJobId(String mediaWorkflowJobId)
The ID of the MediaWorkflowJob used to produce this asset.
|
MediaAsset.Builder |
metadata(List<Metadata> metadata)
List of Metadata.
|
MediaAsset.Builder |
namespaceName(String namespaceName)
The object storage namespace where this asset is located.
|
MediaAsset.Builder |
objectEtag(String objectEtag)
eTag of the underlying object storage object.
|
MediaAsset.Builder |
objectName(String objectName)
The object storage object name that identifies this asset.
|
MediaAsset.Builder |
parentMediaAssetId(String parentMediaAssetId)
The ID of the parent asset from which this asset is derived.
|
MediaAsset.Builder |
segmentRangeEndIndex(Long segmentRangeEndIndex)
The end index of video segment files.
|
MediaAsset.Builder |
segmentRangeStartIndex(Long segmentRangeStartIndex)
The start index for video segment files.
|
MediaAsset.Builder |
sourceMediaWorkflowId(String sourceMediaWorkflowId)
The ID of the MediaWorkflow used to produce this asset.
|
MediaAsset.Builder |
sourceMediaWorkflowVersion(Long sourceMediaWorkflowVersion)
The version of the MediaWorkflow used to produce this asset.
|
MediaAsset.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
MediaAsset.Builder |
timeCreated(Date timeCreated)
The time when the MediaAsset was created.
|
MediaAsset.Builder |
timeUpdated(Date timeUpdated)
The time when the MediaAsset was updated.
|
MediaAsset.Builder |
type(AssetType type)
The type of the media asset.
|
public MediaAsset.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic MediaAsset.Builder compartmentId(String compartmentId)
The ID of the compartment containing the MediaAsset.
compartmentId
- the value to setpublic MediaAsset.Builder sourceMediaWorkflowId(String sourceMediaWorkflowId)
The ID of the MediaWorkflow used to produce this asset.
sourceMediaWorkflowId
- the value to setpublic MediaAsset.Builder mediaWorkflowJobId(String mediaWorkflowJobId)
The ID of the MediaWorkflowJob used to produce this asset.
mediaWorkflowJobId
- the value to setpublic MediaAsset.Builder sourceMediaWorkflowVersion(Long sourceMediaWorkflowVersion)
The version of the MediaWorkflow used to produce this asset.
sourceMediaWorkflowVersion
- the value to setpublic MediaAsset.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic MediaAsset.Builder timeCreated(Date timeCreated)
The time when the MediaAsset was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MediaAsset.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the MediaAsset.
lifecycleState
- the value to setpublic MediaAsset.Builder type(AssetType type)
The type of the media asset.
type
- the value to setpublic MediaAsset.Builder parentMediaAssetId(String parentMediaAssetId)
The ID of the parent asset from which this asset is derived.
parentMediaAssetId
- the value to setpublic MediaAsset.Builder masterMediaAssetId(String masterMediaAssetId)
The ID of the senior most asset from which this asset is derived.
masterMediaAssetId
- the value to setpublic MediaAsset.Builder bucketName(String bucketName)
The name of the object storage bucket where this represented asset is located.
bucketName
- the value to setpublic MediaAsset.Builder namespaceName(String namespaceName)
The object storage namespace where this asset is located.
namespaceName
- the value to setpublic MediaAsset.Builder objectName(String objectName)
The object storage object name that identifies this asset.
objectName
- the value to setpublic MediaAsset.Builder objectEtag(String objectEtag)
eTag of the underlying object storage object.
objectEtag
- the value to setpublic MediaAsset.Builder timeUpdated(Date timeUpdated)
The time when the MediaAsset was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic MediaAsset.Builder segmentRangeStartIndex(Long segmentRangeStartIndex)
The start index for video segment files.
segmentRangeStartIndex
- the value to setpublic MediaAsset.Builder segmentRangeEndIndex(Long segmentRangeEndIndex)
The end index of video segment files.
segmentRangeEndIndex
- the value to setpublic MediaAsset.Builder metadata(List<Metadata> metadata)
List of Metadata.
metadata
- the value to setpublic MediaAsset.Builder mediaAssetTags(List<MediaAssetTag> mediaAssetTags)
List of tags for the MediaAsset.
mediaAssetTags
- the value to setpublic MediaAsset.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic MediaAsset.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic MediaAsset.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic MediaAsset.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic MediaAsset build()
public MediaAsset.Builder copy(MediaAsset model)
Copyright © 2016–2024. All rights reserved.