@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JourneyLimits extends Object implements Serializable, Cloneable, StructuredPojo
Specifies limits on the messages that a journey can send and the number of times participants can enter a journey.
Constructor and Description |
---|
JourneyLimits() |
Modifier and Type | Method and Description |
---|---|
JourneyLimits |
clone() |
boolean |
equals(Object obj) |
Integer |
getDailyCap()
The maximum number of messages that the journey can send to a single participant during a 24-hour period.
|
Integer |
getEndpointReentryCap()
The maximum number of times that a participant can enter the journey.
|
String |
getEndpointReentryInterval()
Minimum time that must pass before an endpoint can re-enter a given journey.
|
Integer |
getMessagesPerSecond()
The maximum number of messages that the journey can send each second.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDailyCap(Integer dailyCap)
The maximum number of messages that the journey can send to a single participant during a 24-hour period.
|
void |
setEndpointReentryCap(Integer endpointReentryCap)
The maximum number of times that a participant can enter the journey.
|
void |
setEndpointReentryInterval(String endpointReentryInterval)
Minimum time that must pass before an endpoint can re-enter a given journey.
|
void |
setMessagesPerSecond(Integer messagesPerSecond)
The maximum number of messages that the journey can send each second.
|
String |
toString()
Returns a string representation of this object.
|
JourneyLimits |
withDailyCap(Integer dailyCap)
The maximum number of messages that the journey can send to a single participant during a 24-hour period.
|
JourneyLimits |
withEndpointReentryCap(Integer endpointReentryCap)
The maximum number of times that a participant can enter the journey.
|
JourneyLimits |
withEndpointReentryInterval(String endpointReentryInterval)
Minimum time that must pass before an endpoint can re-enter a given journey.
|
JourneyLimits |
withMessagesPerSecond(Integer messagesPerSecond)
The maximum number of messages that the journey can send each second.
|
public void setDailyCap(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.public Integer getDailyCap()
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 JourneyLimits withDailyCap(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.public void setEndpointReentryCap(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.public Integer getEndpointReentryCap()
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 JourneyLimits withEndpointReentryCap(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.public void setMessagesPerSecond(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.public Integer getMessagesPerSecond()
The maximum number of messages that the journey can send each second.
public JourneyLimits withMessagesPerSecond(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.public void setEndpointReentryInterval(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.public String getEndpointReentryInterval()
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 withEndpointReentryInterval(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.public String toString()
toString
in class Object
Object.toString()
public JourneyLimits clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.