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) Indicates whether some other object is "equal to" this one by SDK fields.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.Take this object and create a builder that contains all of the current property values of this object.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 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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<JourneyLimits.Builder,JourneyLimits> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-