Class MediaAssetSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.mediaservices.model.MediaAssetSummary.Builder
-
- Enclosing class:
- MediaAssetSummary
public static class MediaAssetSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaAssetSummarybuild()MediaAssetSummary.BuildercompartmentId(String compartmentId)The ID of the compartment containing the MediaAsset.MediaAssetSummary.Buildercopy(MediaAssetSummary model)MediaAssetSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.MediaAssetSummary.BuilderdisplayName(String displayName)MediaAsset name.MediaAssetSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.MediaAssetSummary.Builderid(String id)Unique identifier that is immutable on creation.MediaAssetSummary.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the MediaAsset.MediaAssetSummary.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.MediaAssetSummary.BuildermasterMediaAssetId(String masterMediaAssetId)The ID of the senior most asset from which this asset is derived.MediaAssetSummary.BuilderparentMediaAssetId(String parentMediaAssetId)The ID of the parent asset from which this asset is derived.MediaAssetSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.MediaAssetSummary.BuildertimeCreated(Date timeCreated)The time the the MediaAsset was created.MediaAssetSummary.BuildertimeUpdated(Date timeUpdated)The time the MediaAsset was updated.MediaAssetSummary.Buildertype(AssetType type)The type of the media asset.
-
-
-
Method Detail
-
id
public MediaAssetSummary.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public MediaAssetSummary.Builder compartmentId(String compartmentId)
The ID of the compartment containing the MediaAsset.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public MediaAssetSummary.Builder displayName(String displayName)
MediaAsset name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeCreated
public MediaAssetSummary.Builder timeCreated(Date timeCreated)
The time the the MediaAsset was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleState
public MediaAssetSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the MediaAsset.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
type
public MediaAssetSummary.Builder type(AssetType type)
The type of the media asset.- Parameters:
type- the value to set- Returns:
- this builder
-
timeUpdated
public MediaAssetSummary.Builder timeUpdated(Date timeUpdated)
The time the MediaAsset was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
masterMediaAssetId
public MediaAssetSummary.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
-
parentMediaAssetId
public MediaAssetSummary.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
-
freeformTags
public MediaAssetSummary.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
-
definedTags
public MediaAssetSummary.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
-
systemTags
public MediaAssetSummary.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
-
locks
public MediaAssetSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
build
public MediaAssetSummary build()
-
copy
public MediaAssetSummary.Builder copy(MediaAssetSummary model)
-
-