Class JourneyLimits
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JourneyLimits.Builder,JourneyLimits>
Specifies limits on the messages that a journey can send and the number of times participants can enter a journey.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic JourneyLimits.Builderbuilder()final IntegerdailyCap()The maximum number of messages that the journey can send to a single participant during a 24-hour period.final IntegerThe maximum number of times that a participant can enter the journey.final StringMinimum time that must pass before an endpoint can re-enter a given journey.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe maximum number of messages that the journey can send each second.static Class<? extends JourneyLimits.Builder>final JourneyTimeframeCapThe number of messages that an endpoint can receive during the specified timeframe.final StringtoString()Returns a string representation of this object.final IntegertotalCap()The maximum number of messages a journey can sent to a single endpoint.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.
- Returns:
- The maximum number of messages that the journey can send to a single participant during a 24-hour period. The maximum value is 100.
-
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.
- Returns:
- 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.
-
messagesPerSecond
The maximum number of messages that the journey can send each second.
- Returns:
- The maximum number of messages that the journey can send each second.
-
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.
- Returns:
- 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.
-
timeframeCap
The number of messages that an endpoint can receive during the specified timeframe.
- Returns:
- The number of messages that an endpoint can receive during the specified timeframe.
-
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.
- Returns:
- 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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<JourneyLimits.Builder,JourneyLimits>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-