Class RuleStats.Example.Builder
-
- All Implemented Interfaces:
public final class RuleStats.Example.BuilderA builder for Example.
-
-
Method Summary
-
-
Method Detail
-
approved
final RuleStats.Example.Builder approved(Boolean approved)
Whether the rule would have approved the request.
-
approved
final RuleStats.Example.Builder approved(JsonField<Boolean> approved)
Sets Builder.approved to an arbitrary JSON value.
You should usually call Builder.approved with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
decision
final RuleStats.Example.Builder decision(RuleStats.Example.Decision decision)
The decision made by the rule for this event.
-
decision
final RuleStats.Example.Builder decision(JsonField<RuleStats.Example.Decision> decision)
Sets Builder.decision to an arbitrary JSON value.
You should usually call Builder.decision with a well-typed Decision value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
eventToken
final RuleStats.Example.Builder eventToken(String eventToken)
The event token.
-
eventToken
final RuleStats.Example.Builder eventToken(JsonField<String> eventToken)
Sets Builder.eventToken to an arbitrary JSON value.
You should usually call Builder.eventToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
timestamp
final RuleStats.Example.Builder timestamp(OffsetDateTime timestamp)
The timestamp of the event.
-
timestamp
final RuleStats.Example.Builder timestamp(JsonField<OffsetDateTime> timestamp)
Sets Builder.timestamp to an arbitrary JSON value.
You should usually call Builder.timestamp with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RuleStats.Example.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RuleStats.Example.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RuleStats.Example.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RuleStats.Example.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RuleStats.Example.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RuleStats.Example build()
Returns an immutable instance of Example.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-