Package com.flagright.api.types
Class BatchConsumerUserEventWithRulesResult.Builder
- java.lang.Object
-
- com.flagright.api.types.BatchConsumerUserEventWithRulesResult.Builder
-
- All Implemented Interfaces:
BatchConsumerUserEventWithRulesResult._FinalStage,BatchConsumerUserEventWithRulesResult.TimestampStage,BatchConsumerUserEventWithRulesResult.UserIdStage
- Enclosing class:
- BatchConsumerUserEventWithRulesResult
public static final class BatchConsumerUserEventWithRulesResult.Builder extends java.lang.Object implements BatchConsumerUserEventWithRulesResult.TimestampStage, BatchConsumerUserEventWithRulesResult.UserIdStage, BatchConsumerUserEventWithRulesResult._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public BatchConsumerUserEventWithRulesResult.Builder from(BatchConsumerUserEventWithRulesResult other)
- Specified by:
fromin interfaceBatchConsumerUserEventWithRulesResult.TimestampStage
-
timestamp
public BatchConsumerUserEventWithRulesResult.UserIdStage timestamp(double timestamp)
Timestamp of the event
- Specified by:
timestampin interfaceBatchConsumerUserEventWithRulesResult.TimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
public BatchConsumerUserEventWithRulesResult._FinalStage userId(@NotNull java.lang.String userId)
Transaction ID the event pertains to
- Specified by:
userIdin interfaceBatchConsumerUserEventWithRulesResult.UserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
riskScoreDetails
public BatchConsumerUserEventWithRulesResult._FinalStage riskScoreDetails(UserRiskScoreDetails riskScoreDetails)
- Specified by:
riskScoreDetailsin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
riskScoreDetails
public BatchConsumerUserEventWithRulesResult._FinalStage riskScoreDetails(java.util.Optional<UserRiskScoreDetails> riskScoreDetails)
- Specified by:
riskScoreDetailsin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
executedRules
public BatchConsumerUserEventWithRulesResult._FinalStage executedRules(java.util.List<ExecutedRulesResult> executedRules)
- Specified by:
executedRulesin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
executedRules
public BatchConsumerUserEventWithRulesResult._FinalStage executedRules(java.util.Optional<java.util.List<ExecutedRulesResult>> executedRules)
- Specified by:
executedRulesin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
updateCount
public BatchConsumerUserEventWithRulesResult._FinalStage updateCount(java.lang.Double updateCount)
- Specified by:
updateCountin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
updateCount
public BatchConsumerUserEventWithRulesResult._FinalStage updateCount(java.util.Optional<java.lang.Double> updateCount)
- Specified by:
updateCountin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
updatedConsumerUserAttributes
public BatchConsumerUserEventWithRulesResult._FinalStage updatedConsumerUserAttributes(UserOptional updatedConsumerUserAttributes)
- Specified by:
updatedConsumerUserAttributesin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
updatedConsumerUserAttributes
public BatchConsumerUserEventWithRulesResult._FinalStage updatedConsumerUserAttributes(java.util.Optional<UserOptional> updatedConsumerUserAttributes)
- Specified by:
updatedConsumerUserAttributesin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
eventDescription
public BatchConsumerUserEventWithRulesResult._FinalStage eventDescription(java.lang.String eventDescription)
Event description
- Specified by:
eventDescriptionin interfaceBatchConsumerUserEventWithRulesResult._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
eventDescription
public BatchConsumerUserEventWithRulesResult._FinalStage eventDescription(java.util.Optional<java.lang.String> eventDescription)
- Specified by:
eventDescriptionin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
reason
public BatchConsumerUserEventWithRulesResult._FinalStage reason(java.lang.String reason)
Reason for the event or a state change
- Specified by:
reasonin interfaceBatchConsumerUserEventWithRulesResult._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
reason
public BatchConsumerUserEventWithRulesResult._FinalStage reason(java.util.Optional<java.lang.String> reason)
- Specified by:
reasonin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
eventId
public BatchConsumerUserEventWithRulesResult._FinalStage eventId(java.lang.String eventId)
Unique event ID
- Specified by:
eventIdin interfaceBatchConsumerUserEventWithRulesResult._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
eventId
public BatchConsumerUserEventWithRulesResult._FinalStage eventId(java.util.Optional<java.lang.String> eventId)
- Specified by:
eventIdin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
build
public BatchConsumerUserEventWithRulesResult build()
- Specified by:
buildin interfaceBatchConsumerUserEventWithRulesResult._FinalStage
-
-