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