public static interface JourneyLimits.Builder extends SdkPojo, CopyableBuilder<JourneyLimits.Builder,JourneyLimits>
| Modifier and Type | Method and Description |
|---|---|
JourneyLimits.Builder |
dailyCap(Integer dailyCap)
The maximum number of messages that the journey can send to a single participant during a 24-hour period.
|
JourneyLimits.Builder |
endpointReentryCap(Integer endpointReentryCap)
The maximum number of times that a participant can enter the journey.
|
JourneyLimits.Builder |
endpointReentryInterval(String endpointReentryInterval)
Minimum time that must pass before an endpoint can re-enter a given journey.
|
JourneyLimits.Builder |
messagesPerSecond(Integer messagesPerSecond)
The maximum number of messages that the journey can send each second.
|
default JourneyLimits.Builder |
timeframeCap(Consumer<JourneyTimeframeCap.Builder> timeframeCap)
The number of messages that an endpoint can receive during the specified timeframe.
|
JourneyLimits.Builder |
timeframeCap(JourneyTimeframeCap timeframeCap)
The number of messages that an endpoint can receive during the specified timeframe.
|
JourneyLimits.Builder |
totalCap(Integer totalCap)
The maximum number of messages a journey can sent to a single endpoint.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildJourneyLimits.Builder dailyCap(Integer dailyCap)
The maximum number of messages that the journey can send to a single participant during a 24-hour period. The maximum value is 100.
dailyCap - The maximum number of messages that the journey can send to a single participant during a 24-hour
period. The maximum value is 100.JourneyLimits.Builder endpointReentryCap(Integer endpointReentryCap)
The maximum number of times that a participant can enter the journey. The maximum value is 100. To allow participants to enter the journey an unlimited number of times, set this value to 0.
endpointReentryCap - The maximum number of times that a participant can enter the journey. The maximum value is 100. To
allow participants to enter the journey an unlimited number of times, set this value to 0.JourneyLimits.Builder messagesPerSecond(Integer messagesPerSecond)
The maximum number of messages that the journey can send each second.
messagesPerSecond - The maximum number of messages that the journey can send each second.JourneyLimits.Builder endpointReentryInterval(String endpointReentryInterval)
Minimum time that must pass before an endpoint can re-enter a given journey. The duration should use an ISO 8601 format, such as PT1H.
endpointReentryInterval - Minimum time that must pass before an endpoint can re-enter a given journey. The duration should use
an ISO 8601 format, such as PT1H.JourneyLimits.Builder timeframeCap(JourneyTimeframeCap timeframeCap)
The number of messages that an endpoint can receive during the specified timeframe.
timeframeCap - The number of messages that an endpoint can receive during the specified timeframe.default JourneyLimits.Builder timeframeCap(Consumer<JourneyTimeframeCap.Builder> timeframeCap)
The number of messages that an endpoint can receive during the specified timeframe.
This is a convenience method that creates an instance of theJourneyTimeframeCap.Builder avoiding the
need to create one manually via JourneyTimeframeCap.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to timeframeCap(JourneyTimeframeCap).
timeframeCap - a consumer that will call methods on JourneyTimeframeCap.BuildertimeframeCap(JourneyTimeframeCap)JourneyLimits.Builder totalCap(Integer totalCap)
The maximum number of messages a journey can sent to a single endpoint. The maximum value is 100. If set to 0, this limit will not apply.
totalCap - The maximum number of messages a journey can sent to a single endpoint. The maximum value is 100. If
set to 0, this limit will not apply.Copyright © 2023. All rights reserved.