Interface RollbackDetails.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RollbackDetails.Builder,RollbackDetails>
,SdkBuilder<RollbackDetails.Builder,RollbackDetails>
,SdkPojo
- Enclosing class:
- RollbackDetails
public static interface RollbackDetails.Builder extends SdkPojo, CopyableBuilder<RollbackDetails.Builder,RollbackDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RollbackDetails.Builder
instancesToUpdateOnRollback(Integer instancesToUpdateOnRollback)
Indicates the value ofInstancesToUpdate
at the time the rollback started.RollbackDetails.Builder
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.RollbackDetails.Builder
progressDetailsOnRollback(InstanceRefreshProgressDetails progressDetailsOnRollback)
Reports progress on replacing instances in an Auto Scaling group that has a warm pool.RollbackDetails.Builder
rollbackReason(String rollbackReason)
The reason for this instance refresh rollback (for example, whether a manual or automatic rollback was initiated).RollbackDetails.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
rollbackReason
RollbackDetails.Builder rollbackReason(String 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
RollbackDetails.Builder rollbackStartTime(Instant 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
RollbackDetails.Builder percentageCompleteOnRollback(Integer 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
RollbackDetails.Builder instancesToUpdateOnRollback(Integer 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:
progressDetailsOnRollback(InstanceRefreshProgressDetails)
-
-