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 Groupbuild()Group.Buildercopy(Group model)Group.BuildergroupName(String groupName)The name of the consumer group.Group.Builderreservations(List<PartitionReservation> reservations)An array of the partition reservations of a group.Group.BuilderstreamId(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)
-
-