Package com.oracle.bmc.streaming.model
Class CreateGroupCursorDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.streaming.model.CreateGroupCursorDetails.Builder
 
- 
- Enclosing class:
- CreateGroupCursorDetails
 
 public static class CreateGroupCursorDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateGroupCursorDetailsbuild()CreateGroupCursorDetails.BuildercommitOnGet(Boolean commitOnGet)When using consumer-groups, the default commit-on-get behaviour can be overriden by setting this value to false.CreateGroupCursorDetails.Buildercopy(CreateGroupCursorDetails model)CreateGroupCursorDetails.BuildergroupName(String groupName)Name of the consumer group.CreateGroupCursorDetails.BuilderinstanceName(String instanceName)A unique identifier for the instance joining the consumer group.CreateGroupCursorDetails.Buildertime(Date time)The time to consume from if type is AT_TIME.CreateGroupCursorDetails.BuildertimeoutInMs(Integer timeoutInMs)The amount of a consumer instance inactivity time, before partition reservations are released.CreateGroupCursorDetails.Buildertype(CreateGroupCursorDetails.Type type)The type of the cursor.
 
- 
- 
- 
Method Detail- 
typepublic CreateGroupCursorDetails.Builder type(CreateGroupCursorDetails.Type type) The type of the cursor.This value is only used when the group is created. - Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
timepublic CreateGroupCursorDetails.Builder time(Date time) The time to consume from if type is AT_TIME.- Parameters:
- time- the value to set
- Returns:
- this builder
 
 - 
groupNamepublic CreateGroupCursorDetails.Builder groupName(String groupName) Name of the consumer group.- Parameters:
- groupName- the value to set
- Returns:
- this builder
 
 - 
instanceNamepublic CreateGroupCursorDetails.Builder instanceName(String instanceName) A unique identifier for the instance joining the consumer group.If an instanceName is not provided, a UUID will be generated and used. - Parameters:
- instanceName- the value to set
- Returns:
- this builder
 
 - 
timeoutInMspublic CreateGroupCursorDetails.Builder timeoutInMs(Integer timeoutInMs) The amount of a consumer instance inactivity time, before partition reservations are released.- Parameters:
- timeoutInMs- the value to set
- Returns:
- this builder
 
 - 
commitOnGetpublic CreateGroupCursorDetails.Builder commitOnGet(Boolean commitOnGet) When using consumer-groups, the default commit-on-get behaviour can be overriden by setting this value to false.If disabled, a consumer must manually commit their cursors. - Parameters:
- commitOnGet- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateGroupCursorDetails build() 
 - 
copypublic CreateGroupCursorDetails.Builder copy(CreateGroupCursorDetails model) 
 
- 
 
-