Package com.oracle.bmc.aivision.model
Class StreamGroup.Builder
- java.lang.Object
-
- com.oracle.bmc.aivision.model.StreamGroup.Builder
-
- Enclosing class:
- StreamGroup
public static class StreamGroup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamGroup
build()
StreamGroup.Builder
compartmentId(String compartmentId)
OCID of compartmentStreamGroup.Builder
copy(StreamGroup model)
StreamGroup.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.StreamGroup.Builder
displayName(String displayName)
A human-friendly name for the streamGroup.StreamGroup.Builder
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.StreamGroup.Builder
id(String id)
OCID of the streamGroup.StreamGroup.Builder
isEnabled(Boolean isEnabled)
StreamStreamGroup.Builder
lifecycleState(StreamGroup.LifecycleState lifecycleState)
The current state of the streamGroup.StreamGroup.Builder
streamOverlaps(List<StreamGroupOverlap> streamOverlaps)
List of streamSource OCIDs where the streamSource overlaps in field of view.StreamGroup.Builder
streamSourceIds(List<String> streamSourceIds)
List of streamSource OCIDs associated with the stream groupStreamGroup.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.StreamGroup.Builder
timeCreated(Date timeCreated)
When the streamGroup was created, as an RFC3339 datetime string.StreamGroup.Builder
timeUpdated(Date timeUpdated)
When the streamGroup was updated, as an RFC3339 datetime string.
-
-
-
Method Detail
-
id
public StreamGroup.Builder id(String id)
OCID of the streamGroup.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public StreamGroup.Builder compartmentId(String compartmentId)
OCID of compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public StreamGroup.Builder displayName(String displayName)
A human-friendly name for the streamGroup.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public StreamGroup.Builder timeCreated(Date timeCreated)
When the streamGroup was created, as an RFC3339 datetime string.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public StreamGroup.Builder timeUpdated(Date timeUpdated)
When the streamGroup was updated, as an RFC3339 datetime string.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public StreamGroup.Builder lifecycleState(StreamGroup.LifecycleState lifecycleState)
The current state of the streamGroup.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
isEnabled
public StreamGroup.Builder isEnabled(Boolean isEnabled)
Stream- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
streamSourceIds
public StreamGroup.Builder streamSourceIds(List<String> streamSourceIds)
List of streamSource OCIDs associated with the stream group- Parameters:
streamSourceIds
- the value to set- Returns:
- this builder
-
streamOverlaps
public StreamGroup.Builder streamOverlaps(List<StreamGroupOverlap> streamOverlaps)
List of streamSource OCIDs where the streamSource overlaps in field of view.- Parameters:
streamOverlaps
- the value to set- Returns:
- this builder
-
freeformTags
public StreamGroup.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 StreamGroup.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 StreamGroup.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 StreamGroup build()
-
copy
public StreamGroup.Builder copy(StreamGroup model)
-
-