public static class MediaAssetSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MediaAssetSummary |
build() |
MediaAssetSummary.Builder |
compartmentId(String compartmentId)
The ID of the compartment containing the MediaAsset.
|
MediaAssetSummary.Builder |
copy(MediaAssetSummary model) |
MediaAssetSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
MediaAssetSummary.Builder |
displayName(String displayName)
MediaAsset name.
|
MediaAssetSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
MediaAssetSummary.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
MediaAssetSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the MediaAsset.
|
MediaAssetSummary.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
MediaAssetSummary.Builder |
masterMediaAssetId(String masterMediaAssetId)
The ID of the senior most asset from which this asset is derived.
|
MediaAssetSummary.Builder |
parentMediaAssetId(String parentMediaAssetId)
The ID of the parent asset from which this asset is derived.
|
MediaAssetSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
MediaAssetSummary.Builder |
timeCreated(Date timeCreated)
The time the the MediaAsset was created.
|
MediaAssetSummary.Builder |
timeUpdated(Date timeUpdated)
The time the MediaAsset was updated.
|
MediaAssetSummary.Builder |
type(AssetType type)
The type of the media asset.
|
public MediaAssetSummary.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic MediaAssetSummary.Builder compartmentId(String compartmentId)
The ID of the compartment containing the MediaAsset.
compartmentId
- the value to setpublic MediaAssetSummary.Builder displayName(String displayName)
MediaAsset name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic MediaAssetSummary.Builder timeCreated(Date timeCreated)
The time the the MediaAsset was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic MediaAssetSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the MediaAsset.
lifecycleState
- the value to setpublic MediaAssetSummary.Builder type(AssetType type)
The type of the media asset.
type
- the value to setpublic MediaAssetSummary.Builder timeUpdated(Date timeUpdated)
The time the MediaAsset was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic MediaAssetSummary.Builder masterMediaAssetId(String masterMediaAssetId)
The ID of the senior most asset from which this asset is derived.
masterMediaAssetId
- the value to setpublic MediaAssetSummary.Builder parentMediaAssetId(String parentMediaAssetId)
The ID of the parent asset from which this asset is derived.
parentMediaAssetId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic MediaAssetSummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic MediaAssetSummary build()
public MediaAssetSummary.Builder copy(MediaAssetSummary model)
Copyright © 2016–2024. All rights reserved.