Package com.oracle.bmc.aivision.model
Class StreamSourceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.aivision.model.StreamSourceSummary.Builder
-
- Enclosing class:
- StreamSourceSummary
public static class StreamSourceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamSourceSummarybuild()StreamSourceSummary.BuildercompartmentId(String compartmentId)OCID of the compartment.StreamSourceSummary.Buildercopy(StreamSourceSummary model)StreamSourceSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.StreamSourceSummary.BuilderdisplayName(String displayName)StreamSource display name.StreamSourceSummary.BuilderfreeformTags(Map<String,String> freeformTags)A simple key-value pair that is applied without any predefined name, type, or scope.StreamSourceSummary.Builderid(String id)OCID of the streamSource.StreamSourceSummary.BuilderlifecycleState(StreamSource.LifecycleState lifecycleState)The current state of the streamSource.StreamSourceSummary.BuilderstreamSourceDetails(StreamSourceDetails streamSourceDetails)StreamSourceSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.StreamSourceSummary.BuildertimeCreated(Date timeCreated)When the streamSource was created, as an RFC3339 datetime string.StreamSourceSummary.BuildertimeUpdated(Date timeUpdated)When the streamSource was created, as an RFC3339 datetime string.
-
-
-
Method Detail
-
streamSourceDetails
public StreamSourceSummary.Builder streamSourceDetails(StreamSourceDetails streamSourceDetails)
-
id
public StreamSourceSummary.Builder id(String id)
OCID of the streamSource.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public StreamSourceSummary.Builder compartmentId(String compartmentId)
OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public StreamSourceSummary.Builder displayName(String displayName)
StreamSource display name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeCreated
public StreamSourceSummary.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 StreamSourceSummary.Builder timeUpdated(Date timeUpdated)
When the streamSource was created, as an RFC3339 datetime string.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public StreamSourceSummary.Builder lifecycleState(StreamSource.LifecycleState lifecycleState)
The current state of the streamSource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
freeformTags
public StreamSourceSummary.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 StreamSourceSummary.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 StreamSourceSummary.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 StreamSourceSummary build()
-
copy
public StreamSourceSummary.Builder copy(StreamSourceSummary model)
-
-