Class JourneyThrottleDynamicNode
-
- All Implemented Interfaces:
public final class JourneyThrottleDynamicNodeThrottle the journey by a dynamic
throttle_key, allowing at mostmax_allowedinvocations perperiod.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyThrottleDynamicNode.BuilderA builder for JourneyThrottleDynamicNode.
public final classJourneyThrottleDynamicNode.Scopepublic final classJourneyThrottleDynamicNode.Type
-
Method Summary
-
-
Method Detail
-
maxAllowed
final Long maxAllowed()
-
scope
final JourneyThrottleDynamicNode.Scope scope()
-
throttleKey
final String throttleKey()
-
type
final JourneyThrottleDynamicNode.Type type()
-
conditions
final Optional<JourneyConditionsField> conditions()
Condition spec for a journey node. Accepts a single condition atom, an AND/OR group, or an AND/OR nested group. Omit the
conditionsproperty entirely to express "no conditions".
-
_maxAllowed
final JsonField<Long> _maxAllowed()
Returns the raw JSON value of maxAllowed.
Unlike maxAllowed, this method doesn't throw if the JSON field has an unexpected type.
-
_period
final JsonField<String> _period()
Returns the raw JSON value of period.
Unlike period, this method doesn't throw if the JSON field has an unexpected type.
-
_scope
final JsonField<JourneyThrottleDynamicNode.Scope> _scope()
Returns the raw JSON value of scope.
Unlike scope, this method doesn't throw if the JSON field has an unexpected type.
-
_throttleKey
final JsonField<String> _throttleKey()
Returns the raw JSON value of throttleKey.
Unlike throttleKey, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<JourneyThrottleDynamicNode.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_conditions
final JsonField<JourneyConditionsField> _conditions()
Returns the raw JSON value of conditions.
Unlike conditions, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyThrottleDynamicNode.Builder toBuilder()
-
validate
final JourneyThrottleDynamicNode validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static JourneyThrottleDynamicNode.Builder builder()
Returns a mutable builder for constructing an instance of JourneyThrottleDynamicNode.
The following fields are required:
.maxAllowed() .period() .scope() .throttleKey() .type()
-
-
-
-