Package com.oracle.bmc.aivision.model
Class StreamSource.Builder
- java.lang.Object
-
- com.oracle.bmc.aivision.model.StreamSource.Builder
-
- Enclosing class:
- StreamSource
public static class StreamSource.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamSource
build()
StreamSource.Builder
compartmentId(String compartmentId)
OCID of the compartm.StreamSource.Builder
copy(StreamSource model)
StreamSource.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.StreamSource.Builder
displayName(String displayName)
display name.StreamSource.Builder
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.StreamSource.Builder
id(String id)
OCID of the streamSource.StreamSource.Builder
lifecycleState(StreamSource.LifecycleState lifecycleState)
The current state of the streamSource.StreamSource.Builder
streamSourceDetails(StreamSourceDetails streamSourceDetails)
StreamSource.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.StreamSource.Builder
timeCreated(Date timeCreated)
When the streamSource was created, as an RFC3339 datetime string.StreamSource.Builder
timeUpdated(Date timeUpdated)
When the streamSource was updated, as an RFC3339 datetime string.
-
-
-
Method Detail
-
streamSourceDetails
public StreamSource.Builder streamSourceDetails(StreamSourceDetails streamSourceDetails)
-
id
public StreamSource.Builder id(String id)
OCID of the streamSource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public StreamSource.Builder compartmentId(String compartmentId)
OCID of the compartm.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public StreamSource.Builder timeCreated(Date timeCreated)
When the streamSource was created, as an RFC3339 datetime string.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public StreamSource.Builder timeUpdated(Date timeUpdated)
When the streamSource was updated, as an RFC3339 datetime string.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
displayName
public StreamSource.Builder displayName(String displayName)
display name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
lifecycleState
public StreamSource.Builder lifecycleState(StreamSource.LifecycleState lifecycleState)
The current state of the streamSource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public StreamSource.Builder freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.It exists for cross-compatibility only. For example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public StreamSource.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public StreamSource.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. For example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public StreamSource build()
-
copy
public StreamSource.Builder copy(StreamSource model)
-
-