Package com.oracle.bmc.streaming.model
Class Group.Builder
- java.lang.Object
-
- com.oracle.bmc.streaming.model.Group.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Group
build()
Group.Builder
copy(Group model)
Group.Builder
groupName(String groupName)
The name of the consumer group.Group.Builder
reservations(List<PartitionReservation> reservations)
An array of the partition reservations of a group.Group.Builder
streamId(String streamId)
The streamId for which the group exists.
-
-
-
Method Detail
-
streamId
public Group.Builder streamId(String streamId)
The streamId for which the group exists.- Parameters:
streamId
- the value to set- Returns:
- this builder
-
groupName
public Group.Builder groupName(String groupName)
The name of the consumer group.- Parameters:
groupName
- the value to set- Returns:
- this builder
-
reservations
public Group.Builder reservations(List<PartitionReservation> reservations)
An array of the partition reservations of a group.- Parameters:
reservations
- the value to set- Returns:
- this builder
-
build
public Group build()
-
copy
public Group.Builder copy(Group model)
-
-