Class MediaAsset.Builder
- java.lang.Object
- 
- com.oracle.bmc.mediaservices.model.MediaAsset.Builder
 
- 
- Enclosing class:
- MediaAsset
 
 public static class MediaAsset.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaAsset.BuilderbucketName(String bucketName)The name of the object storage bucket where this represented asset is located.MediaAssetbuild()MediaAsset.BuildercompartmentId(String compartmentId)The ID of the compartment containing the MediaAsset.MediaAsset.Buildercopy(MediaAsset model)MediaAsset.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MediaAsset.BuilderdisplayName(String displayName)A user-friendly name.MediaAsset.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.MediaAsset.Builderid(String id)Unique identifier that is immutable on creation.MediaAsset.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the MediaAsset.MediaAsset.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.MediaAsset.BuildermasterMediaAssetId(String masterMediaAssetId)The ID of the senior most asset from which this asset is derived.MediaAsset.BuildermediaAssetTags(List<MediaAssetTag> mediaAssetTags)List of tags for the MediaAsset.MediaAsset.BuildermediaWorkflowJobId(String mediaWorkflowJobId)The ID of the MediaWorkflowJob used to produce this asset.MediaAsset.Buildermetadata(List<Metadata> metadata)List of Metadata.MediaAsset.BuildernamespaceName(String namespaceName)The object storage namespace where this asset is located.MediaAsset.BuilderobjectEtag(String objectEtag)eTag of the underlying object storage object.MediaAsset.BuilderobjectName(String objectName)The object storage object name that identifies this asset.MediaAsset.BuilderparentMediaAssetId(String parentMediaAssetId)The ID of the parent asset from which this asset is derived.MediaAsset.BuildersegmentRangeEndIndex(Long segmentRangeEndIndex)The end index of video segment files.MediaAsset.BuildersegmentRangeStartIndex(Long segmentRangeStartIndex)The start index for video segment files.MediaAsset.BuildersourceMediaWorkflowId(String sourceMediaWorkflowId)The ID of the MediaWorkflow used to produce this asset.MediaAsset.BuildersourceMediaWorkflowVersion(Long sourceMediaWorkflowVersion)The version of the MediaWorkflow used to produce this asset.MediaAsset.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.MediaAsset.BuildertimeCreated(Date timeCreated)The time when the MediaAsset was created.MediaAsset.BuildertimeUpdated(Date timeUpdated)The time when the MediaAsset was updated.MediaAsset.Buildertype(AssetType type)The type of the media asset.
 
- 
- 
- 
Method Detail- 
idpublic MediaAsset.Builder id(String id) Unique identifier that is immutable on creation.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic MediaAsset.Builder compartmentId(String compartmentId) The ID of the compartment containing the MediaAsset.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
sourceMediaWorkflowIdpublic MediaAsset.Builder sourceMediaWorkflowId(String sourceMediaWorkflowId) The ID of the MediaWorkflow used to produce this asset.- Parameters:
- sourceMediaWorkflowId- the value to set
- Returns:
- this builder
 
 - 
mediaWorkflowJobIdpublic MediaAsset.Builder mediaWorkflowJobId(String mediaWorkflowJobId) The ID of the MediaWorkflowJob used to produce this asset.- Parameters:
- mediaWorkflowJobId- the value to set
- Returns:
- this builder
 
 - 
sourceMediaWorkflowVersionpublic MediaAsset.Builder sourceMediaWorkflowVersion(Long sourceMediaWorkflowVersion) The version of the MediaWorkflow used to produce this asset.- Parameters:
- sourceMediaWorkflowVersion- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic MediaAsset.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic MediaAsset.Builder timeCreated(Date timeCreated) The time when the MediaAsset was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic MediaAsset.Builder lifecycleState(LifecycleState lifecycleState) The current state of the MediaAsset.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
typepublic MediaAsset.Builder type(AssetType type) The type of the media asset.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
parentMediaAssetIdpublic MediaAsset.Builder parentMediaAssetId(String parentMediaAssetId) The ID of the parent asset from which this asset is derived.- Parameters:
- parentMediaAssetId- the value to set
- Returns:
- this builder
 
 - 
masterMediaAssetIdpublic MediaAsset.Builder masterMediaAssetId(String masterMediaAssetId) The ID of the senior most asset from which this asset is derived.- Parameters:
- masterMediaAssetId- the value to set
- Returns:
- this builder
 
 - 
bucketNamepublic MediaAsset.Builder bucketName(String bucketName) The name of the object storage bucket where this represented asset is located.- Parameters:
- bucketName- the value to set
- Returns:
- this builder
 
 - 
namespaceNamepublic MediaAsset.Builder namespaceName(String namespaceName) The object storage namespace where this asset is located.- Parameters:
- namespaceName- the value to set
- Returns:
- this builder
 
 - 
objectNamepublic MediaAsset.Builder objectName(String objectName) The object storage object name that identifies this asset.- Parameters:
- objectName- the value to set
- Returns:
- this builder
 
 - 
objectEtagpublic MediaAsset.Builder objectEtag(String objectEtag) eTag of the underlying object storage object.- Parameters:
- objectEtag- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic MediaAsset.Builder timeUpdated(Date timeUpdated) The time when the MediaAsset was updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
segmentRangeStartIndexpublic MediaAsset.Builder segmentRangeStartIndex(Long segmentRangeStartIndex) The start index for video segment files.- Parameters:
- segmentRangeStartIndex- the value to set
- Returns:
- this builder
 
 - 
segmentRangeEndIndexpublic MediaAsset.Builder segmentRangeEndIndex(Long segmentRangeEndIndex) The end index of video segment files.- Parameters:
- segmentRangeEndIndex- the value to set
- Returns:
- this builder
 
 - 
metadatapublic MediaAsset.Builder metadata(List<Metadata> metadata) List of Metadata.- Parameters:
- metadata- the value to set
- Returns:
- this builder
 
 - 
mediaAssetTagspublic MediaAsset.Builder mediaAssetTags(List<MediaAssetTag> mediaAssetTags) List of tags for the MediaAsset.- Parameters:
- mediaAssetTags- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
lockspublic MediaAsset.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
buildpublic MediaAsset build() 
 - 
copypublic MediaAsset.Builder copy(MediaAsset model) 
 
- 
 
-