Interface RollbackDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RollbackDetails.Builder,
,RollbackDetails> SdkBuilder<RollbackDetails.Builder,
,RollbackDetails> SdkPojo
- Enclosing class:
RollbackDetails
-
Method Summary
Modifier and TypeMethodDescriptioninstancesToUpdateOnRollback
(Integer instancesToUpdateOnRollback) Indicates the value ofInstancesToUpdate
at the time the rollback started.percentageCompleteOnRollback
(Integer percentageCompleteOnRollback) Indicates the value ofPercentageComplete
at the time the rollback started.default RollbackDetails.Builder
progressDetailsOnRollback
(Consumer<InstanceRefreshProgressDetails.Builder> progressDetailsOnRollback) Reports progress on replacing instances in an Auto Scaling group that has a warm pool.progressDetailsOnRollback
(InstanceRefreshProgressDetails progressDetailsOnRollback) Reports progress on replacing instances in an Auto Scaling group that has a warm pool.rollbackReason
(String rollbackReason) The reason for this instance refresh rollback (for example, whether a manual or automatic rollback was initiated).rollbackStartTime
(Instant rollbackStartTime) The date and time at which the rollback began.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
-
rollbackReason
The reason for this instance refresh rollback (for example, whether a manual or automatic rollback was initiated).
- Parameters:
rollbackReason
- The reason for this instance refresh rollback (for example, whether a manual or automatic rollback was initiated).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollbackStartTime
The date and time at which the rollback began.
- Parameters:
rollbackStartTime
- The date and time at which the rollback began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentageCompleteOnRollback
Indicates the value of
PercentageComplete
at the time the rollback started.- Parameters:
percentageCompleteOnRollback
- Indicates the value ofPercentageComplete
at the time the rollback started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancesToUpdateOnRollback
Indicates the value of
InstancesToUpdate
at the time the rollback started.- Parameters:
instancesToUpdateOnRollback
- Indicates the value ofInstancesToUpdate
at the time the rollback started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressDetailsOnRollback
RollbackDetails.Builder progressDetailsOnRollback(InstanceRefreshProgressDetails progressDetailsOnRollback) Reports progress on replacing instances in an Auto Scaling group that has a warm pool. This includes separate details for instances in the warm pool and instances in the Auto Scaling group (the live pool).
- Parameters:
progressDetailsOnRollback
- Reports progress on replacing instances in an Auto Scaling group that has a warm pool. This includes separate details for instances in the warm pool and instances in the Auto Scaling group (the live pool).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressDetailsOnRollback
default RollbackDetails.Builder progressDetailsOnRollback(Consumer<InstanceRefreshProgressDetails.Builder> progressDetailsOnRollback) Reports progress on replacing instances in an Auto Scaling group that has a warm pool. This includes separate details for instances in the warm pool and instances in the Auto Scaling group (the live pool).
This is a convenience method that creates an instance of theInstanceRefreshProgressDetails.Builder
avoiding the need to create one manually viaInstanceRefreshProgressDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprogressDetailsOnRollback(InstanceRefreshProgressDetails)
.- Parameters:
progressDetailsOnRollback
- a consumer that will call methods onInstanceRefreshProgressDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-