@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationSettingsJourneyLimits extends Object implements Serializable, Cloneable, StructuredPojo
The default sending limits for journeys in the application. To override these limits and define custom limits for a specific journey, use the Journey resource.
Constructor and Description |
---|
ApplicationSettingsJourneyLimits() |
Modifier and Type | Method and Description |
---|---|
ApplicationSettingsJourneyLimits |
clone() |
boolean |
equals(Object obj) |
Integer |
getDailyCap()
The daily number of messages that an endpoint can receive from all journeys.
|
JourneyTimeframeCap |
getTimeframeCap()
The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all
journeys.
|
Integer |
getTotalCap()
The default maximum number of messages that a single journey can sent to a single endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDailyCap(Integer dailyCap)
The daily number of messages that an endpoint can receive from all journeys.
|
void |
setTimeframeCap(JourneyTimeframeCap timeframeCap)
The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all
journeys.
|
void |
setTotalCap(Integer totalCap)
The default maximum number of messages that a single journey can sent to a single endpoint.
|
String |
toString()
Returns a string representation of this object.
|
ApplicationSettingsJourneyLimits |
withDailyCap(Integer dailyCap)
The daily number of messages that an endpoint can receive from all journeys.
|
ApplicationSettingsJourneyLimits |
withTimeframeCap(JourneyTimeframeCap timeframeCap)
The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all
journeys.
|
ApplicationSettingsJourneyLimits |
withTotalCap(Integer totalCap)
The default maximum number of messages that a single journey can sent to a single endpoint.
|
public void setDailyCap(Integer dailyCap)
The daily number of messages that an endpoint can receive from all journeys. The maximum value is 100. If set to 0, this limit will not apply.
dailyCap
- The daily number of messages that an endpoint can receive from all journeys. The maximum value is 100. If
set to 0, this limit will not apply.public Integer getDailyCap()
The daily number of messages that an endpoint can receive from all journeys. The maximum value is 100. If set to 0, this limit will not apply.
public ApplicationSettingsJourneyLimits withDailyCap(Integer dailyCap)
The daily number of messages that an endpoint can receive from all journeys. The maximum value is 100. If set to 0, this limit will not apply.
dailyCap
- The daily number of messages that an endpoint can receive from all journeys. The maximum value is 100. If
set to 0, this limit will not apply.public void setTimeframeCap(JourneyTimeframeCap timeframeCap)
The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all journeys.
timeframeCap
- The default maximum number of messages that can be sent to an endpoint during the specified timeframe for
all journeys.public JourneyTimeframeCap getTimeframeCap()
The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all journeys.
public ApplicationSettingsJourneyLimits withTimeframeCap(JourneyTimeframeCap timeframeCap)
The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all journeys.
timeframeCap
- The default maximum number of messages that can be sent to an endpoint during the specified timeframe for
all journeys.public void setTotalCap(Integer totalCap)
The default maximum number of messages that a single journey can sent to a single endpoint. The maximum value is 100. If set to 0, this limit will not apply.
totalCap
- The default maximum number of messages that a single journey can sent to a single endpoint. The maximum
value is 100. If set to 0, this limit will not apply.public Integer getTotalCap()
The default maximum number of messages that a single journey can sent to a single endpoint. The maximum value is 100. If set to 0, this limit will not apply.
public ApplicationSettingsJourneyLimits withTotalCap(Integer totalCap)
The default maximum number of messages that a single journey can sent to a single endpoint. The maximum value is 100. If set to 0, this limit will not apply.
totalCap
- The default maximum number of messages that a single journey can sent to a single endpoint. The maximum
value is 100. If set to 0, this limit will not apply.public String toString()
toString
in class Object
Object.toString()
public ApplicationSettingsJourneyLimits clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.