Interface ApplicationSettingsJourneyLimits.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationSettingsJourneyLimits.Builder,ApplicationSettingsJourneyLimits>,SdkBuilder<ApplicationSettingsJourneyLimits.Builder,ApplicationSettingsJourneyLimits>,SdkPojo
- Enclosing class:
- ApplicationSettingsJourneyLimits
public static interface ApplicationSettingsJourneyLimits.Builder extends SdkPojo, CopyableBuilder<ApplicationSettingsJourneyLimits.Builder,ApplicationSettingsJourneyLimits>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ApplicationSettingsJourneyLimits.BuilderdailyCap(Integer dailyCap)The daily number of messages that an endpoint can receive from all journeys.default ApplicationSettingsJourneyLimits.BuildertimeframeCap(Consumer<JourneyTimeframeCap.Builder> timeframeCap)The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all journeys.ApplicationSettingsJourneyLimits.BuildertimeframeCap(JourneyTimeframeCap timeframeCap)The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all journeys.ApplicationSettingsJourneyLimits.BuildertotalCap(Integer totalCap)The default maximum number of messages that a single journey can sent to a single endpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
dailyCap
ApplicationSettingsJourneyLimits.Builder dailyCap(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeframeCap
ApplicationSettingsJourneyLimits.Builder timeframeCap(JourneyTimeframeCap timeframeCap)
The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all journeys.
- Parameters:
timeframeCap- The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all journeys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeframeCap
default ApplicationSettingsJourneyLimits.Builder timeframeCap(Consumer<JourneyTimeframeCap.Builder> timeframeCap)
The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all journeys.
This is a convenience method that creates an instance of theJourneyTimeframeCap.Builderavoiding the need to create one manually viaJourneyTimeframeCap.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeframeCap(JourneyTimeframeCap).- Parameters:
timeframeCap- a consumer that will call methods onJourneyTimeframeCap.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timeframeCap(JourneyTimeframeCap)
-
totalCap
ApplicationSettingsJourneyLimits.Builder totalCap(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-