@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JourneyTimeframeCap extends Object implements Serializable, Cloneable, StructuredPojo
The number of messages that can be sent to an endpoint during the specified timeframe for all journeys.
Constructor and Description |
---|
JourneyTimeframeCap() |
Modifier and Type | Method and Description |
---|---|
JourneyTimeframeCap |
clone() |
boolean |
equals(Object obj) |
Integer |
getCap()
The maximum number of messages that all journeys can send to an endpoint during the specified timeframe.
|
Integer |
getDays()
The length of the timeframe in days.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCap(Integer cap)
The maximum number of messages that all journeys can send to an endpoint during the specified timeframe.
|
void |
setDays(Integer days)
The length of the timeframe in days.
|
String |
toString()
Returns a string representation of this object.
|
JourneyTimeframeCap |
withCap(Integer cap)
The maximum number of messages that all journeys can send to an endpoint during the specified timeframe.
|
JourneyTimeframeCap |
withDays(Integer days)
The length of the timeframe in days.
|
public void setCap(Integer cap)
The maximum number of messages that all journeys can send to an endpoint during the specified timeframe. The maximum value is 100. If set to 0, this limit will not apply.
cap
- The maximum number of messages that all journeys can send to an endpoint during the specified timeframe.
The maximum value is 100. If set to 0, this limit will not apply.public Integer getCap()
The maximum number of messages that all journeys can send to an endpoint during the specified timeframe. The maximum value is 100. If set to 0, this limit will not apply.
public JourneyTimeframeCap withCap(Integer cap)
The maximum number of messages that all journeys can send to an endpoint during the specified timeframe. The maximum value is 100. If set to 0, this limit will not apply.
cap
- The maximum number of messages that all journeys can send to an endpoint during the specified timeframe.
The maximum value is 100. If set to 0, this limit will not apply.public void setDays(Integer days)
The length of the timeframe in days. The maximum value is 30. If set to 0, this limit will not apply.
days
- The length of the timeframe in days. The maximum value is 30. If set to 0, this limit will not apply.public Integer getDays()
The length of the timeframe in days. The maximum value is 30. If set to 0, this limit will not apply.
public JourneyTimeframeCap withDays(Integer days)
The length of the timeframe in days. The maximum value is 30. If set to 0, this limit will not apply.
days
- The length of the timeframe in days. The maximum value is 30. If set to 0, this limit will not apply.public String toString()
toString
in class Object
Object.toString()
public JourneyTimeframeCap clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.