Interface OtaTaskExecutionRolloutConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OtaTaskExecutionRolloutConfig.Builder,
,OtaTaskExecutionRolloutConfig> SdkBuilder<OtaTaskExecutionRolloutConfig.Builder,
,OtaTaskExecutionRolloutConfig> SdkPojo
- Enclosing class:
OtaTaskExecutionRolloutConfig
@Mutable
@NotThreadSafe
public static interface OtaTaskExecutionRolloutConfig.Builder
extends SdkPojo, CopyableBuilder<OtaTaskExecutionRolloutConfig.Builder,OtaTaskExecutionRolloutConfig>
-
Method Summary
Modifier and TypeMethodDescriptionexponentialRolloutRate
(Consumer<ExponentialRolloutRate.Builder> exponentialRolloutRate) Structure representing exponential rate of rollout for an over-the-air (OTA) task.exponentialRolloutRate
(ExponentialRolloutRate exponentialRolloutRate) Structure representing exponential rate of rollout for an over-the-air (OTA) task.maximumPerMinute
(Integer maximumPerMinute) The maximum number of things that will be notified of a pending task, per minute.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, sdkFieldNameToField, sdkFields
-
Method Details
-
exponentialRolloutRate
OtaTaskExecutionRolloutConfig.Builder exponentialRolloutRate(ExponentialRolloutRate exponentialRolloutRate) Structure representing exponential rate of rollout for an over-the-air (OTA) task.
- Parameters:
exponentialRolloutRate
- Structure representing exponential rate of rollout for an over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exponentialRolloutRate
default OtaTaskExecutionRolloutConfig.Builder exponentialRolloutRate(Consumer<ExponentialRolloutRate.Builder> exponentialRolloutRate) Structure representing exponential rate of rollout for an over-the-air (OTA) task.
This is a convenience method that creates an instance of theExponentialRolloutRate.Builder
avoiding the need to create one manually viaExponentialRolloutRate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexponentialRolloutRate(ExponentialRolloutRate)
.- Parameters:
exponentialRolloutRate
- a consumer that will call methods onExponentialRolloutRate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maximumPerMinute
The maximum number of things that will be notified of a pending task, per minute.
- Parameters:
maximumPerMinute
- The maximum number of things that will be notified of a pending task, per minute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-