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