Interface PushConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PushConfig.Builder,
,PushConfig> SdkBuilder<PushConfig.Builder,
,PushConfig> SdkPojo
- Enclosing class:
PushConfig
@Mutable
@NotThreadSafe
public static interface PushConfig.Builder
extends SdkPojo, CopyableBuilder<PushConfig.Builder,PushConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PushConfig.Builder
abortConfig
(Consumer<OtaTaskAbortConfig.Builder> abortConfig) Structure representing one abort config.abortConfig
(OtaTaskAbortConfig abortConfig) Structure representing one abort config.default PushConfig.Builder
rolloutConfig
(Consumer<OtaTaskExecutionRolloutConfig.Builder> rolloutConfig) Structure representing one rollout config.rolloutConfig
(OtaTaskExecutionRolloutConfig rolloutConfig) Structure representing one rollout config.default PushConfig.Builder
timeoutConfig
(Consumer<OtaTaskTimeoutConfig.Builder> timeoutConfig) Structure representing one timeout config.timeoutConfig
(OtaTaskTimeoutConfig timeoutConfig) Structure representing one timeout config.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
-
abortConfig
Structure representing one abort config.
- Parameters:
abortConfig
- Structure representing one abort config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abortConfig
Structure representing one abort config.
This is a convenience method that creates an instance of theOtaTaskAbortConfig.Builder
avoiding the need to create one manually viaOtaTaskAbortConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toabortConfig(OtaTaskAbortConfig)
.- Parameters:
abortConfig
- a consumer that will call methods onOtaTaskAbortConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rolloutConfig
Structure representing one rollout config.
- Parameters:
rolloutConfig
- Structure representing one rollout config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rolloutConfig
default PushConfig.Builder rolloutConfig(Consumer<OtaTaskExecutionRolloutConfig.Builder> rolloutConfig) Structure representing one rollout config.
This is a convenience method that creates an instance of theOtaTaskExecutionRolloutConfig.Builder
avoiding the need to create one manually viaOtaTaskExecutionRolloutConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torolloutConfig(OtaTaskExecutionRolloutConfig)
.- Parameters:
rolloutConfig
- a consumer that will call methods onOtaTaskExecutionRolloutConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutConfig
Structure representing one timeout config.
- Parameters:
timeoutConfig
- Structure representing one timeout config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutConfig
Structure representing one timeout config.
This is a convenience method that creates an instance of theOtaTaskTimeoutConfig.Builder
avoiding the need to create one manually viaOtaTaskTimeoutConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeoutConfig(OtaTaskTimeoutConfig)
.- Parameters:
timeoutConfig
- a consumer that will call methods onOtaTaskTimeoutConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-