@Generated(value="software.amazon.awssdk:codegen") public final class JourneyLimits extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JourneyLimits.Builder,JourneyLimits>
Specifies limits on the messages that a journey can send and the number of times participants can enter a journey.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JourneyLimits.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JourneyLimits.Builder |
builder() |
Integer |
dailyCap()
The maximum number of messages that the journey can send to a single participant during a 24-hour period.
|
Integer |
endpointReentryCap()
The maximum number of times that a participant can enter the journey.
|
String |
endpointReentryInterval()
Minimum time that must pass before an endpoint can re-enter a given journey.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
messagesPerSecond()
The maximum number of messages that the journey can send each second.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JourneyLimits.Builder> |
serializableBuilderClass() |
JourneyLimits.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final 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.
public final Integer messagesPerSecond()
The maximum number of messages that the journey can send each second.
public final 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.
public JourneyLimits.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JourneyLimits.Builder,JourneyLimits>public static JourneyLimits.Builder builder()
public static Class<? extends JourneyLimits.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.