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
Modifier and TypeMethodDescriptionThe daily number of messages that an endpoint can receive from all journeys.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.timeframeCap
(JourneyTimeframeCap timeframeCap) The default maximum number of messages that can be sent to an endpoint during the specified timeframe for all journeys.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 Details
-
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
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.Builder
avoiding the need to create one manually viaJourneyTimeframeCap.builder()
.When the
Consumer
completes,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:
-
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.
-