Class StreamCdnConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.mediaservices.model.StreamCdnConfig.Builder
-
- Enclosing class:
- StreamCdnConfig
public static class StreamCdnConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamCdnConfig
build()
StreamCdnConfig.Builder
compartmentId(String compartmentId)
Compartment Identifier.StreamCdnConfig.Builder
config(StreamCdnConfigSection config)
StreamCdnConfig.Builder
copy(StreamCdnConfig model)
StreamCdnConfig.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.StreamCdnConfig.Builder
displayName(String displayName)
The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique.StreamCdnConfig.Builder
distributionChannelId(String distributionChannelId)
Distribution Channel Identifier.StreamCdnConfig.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.StreamCdnConfig.Builder
id(String id)
Unique identifier that is immutable on creation.StreamCdnConfig.Builder
isEnabled(Boolean isEnabled)
Whether publishing to CDN is enabled.StreamCdnConfig.Builder
lifecycleState(StreamCdnConfig.LifecycleState lifecycleState)
The current state of the CDN Configuration.StreamCdnConfig.Builder
lifecyleDetails(String lifecyleDetails)
A message describing the current state in more detail.StreamCdnConfig.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.StreamCdnConfig.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.StreamCdnConfig.Builder
timeCreated(Date timeCreated)
The time when the CDN Config was created.StreamCdnConfig.Builder
timeUpdated(Date timeUpdated)
The time when the CDN Config was updated.
-
-
-
Method Detail
-
id
public StreamCdnConfig.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public StreamCdnConfig.Builder displayName(String displayName)
The CDN Configuration identifier or display name, which can be renamed and is not necessarily unique.Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public StreamCdnConfig.Builder compartmentId(String compartmentId)
Compartment Identifier.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
distributionChannelId
public StreamCdnConfig.Builder distributionChannelId(String distributionChannelId)
Distribution Channel Identifier.- Parameters:
distributionChannelId
- the value to set- Returns:
- this builder
-
isEnabled
public StreamCdnConfig.Builder isEnabled(Boolean isEnabled)
Whether publishing to CDN is enabled.- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
config
public StreamCdnConfig.Builder config(StreamCdnConfigSection config)
-
timeCreated
public StreamCdnConfig.Builder timeCreated(Date timeCreated)
The time when the CDN Config was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public StreamCdnConfig.Builder timeUpdated(Date timeUpdated)
The time when the CDN Config was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public StreamCdnConfig.Builder lifecycleState(StreamCdnConfig.LifecycleState lifecycleState)
The current state of the CDN Configuration.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecyleDetails
public StreamCdnConfig.Builder lifecyleDetails(String lifecyleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecyleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public StreamCdnConfig.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 StreamCdnConfig.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 StreamCdnConfig.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 StreamCdnConfig.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public StreamCdnConfig build()
-
copy
public StreamCdnConfig.Builder copy(StreamCdnConfig model)
-
-