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 SummaryNested Classes
- 
Method SummaryModifier 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.ToCopyableBuildercopy
- 
Method Details- 
dailyCapThe 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.
 
- 
endpointReentryCapThe 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.
 
- 
messagesPerSecondThe maximum number of messages that the journey can send each second. - Returns:
- The maximum number of messages that the journey can send each second.
 
- 
endpointReentryIntervalMinimum 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.
 
- 
timeframeCapThe 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.
 
- 
totalCapThe 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.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<JourneyLimits.Builder,- JourneyLimits> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription 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 interface- SdkPojo
- 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
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-