Package io.split.engine.sse.dtos
Class GenericNotificationData.Builder
- java.lang.Object
-
- io.split.engine.sse.dtos.GenericNotificationData.Builder
-
- Enclosing class:
- GenericNotificationData
public static final class GenericNotificationData.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericNotificationDatabuild()GenericNotificationData.BuilderchangeNumber(Long changeNumber)GenericNotificationData.Builderchannel(String channel)GenericNotificationData.BuildercompressType(Integer compressType)GenericNotificationData.BuildercontrolType(ControlType controlType)GenericNotificationData.BuilderdefaultTreatment(String defaultTreatment)GenericNotificationData.BuilderfeatureFlagDefinition(String featureFlagDefinition)GenericNotificationData.BuilderfeatureFlagName(String featureFlagName)GenericNotificationData.Buildermetrics(OccupancyMetrics occupancyMetrics)GenericNotificationData.BuilderpreviousChangeNumber(Long previousChangeNumber)GenericNotificationData.BuildersegmentName(String segmentName)GenericNotificationData.Buildertype(IncomingNotification.Type type)
-
-
-
Method Detail
-
changeNumber
public GenericNotificationData.Builder changeNumber(Long changeNumber)
-
defaultTreatment
public GenericNotificationData.Builder defaultTreatment(String defaultTreatment)
-
featureFlagName
public GenericNotificationData.Builder featureFlagName(String featureFlagName)
-
controlType
public GenericNotificationData.Builder controlType(ControlType controlType)
-
metrics
public GenericNotificationData.Builder metrics(OccupancyMetrics occupancyMetrics)
-
segmentName
public GenericNotificationData.Builder segmentName(String segmentName)
-
type
public GenericNotificationData.Builder type(IncomingNotification.Type type)
-
channel
public GenericNotificationData.Builder channel(String channel)
-
previousChangeNumber
public GenericNotificationData.Builder previousChangeNumber(Long previousChangeNumber)
-
featureFlagDefinition
public GenericNotificationData.Builder featureFlagDefinition(String featureFlagDefinition)
-
compressType
public GenericNotificationData.Builder compressType(Integer compressType)
-
build
public GenericNotificationData build()
-
-