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.BuilderinstancesToUpdateOnRollback(Integer instancesToUpdateOnRollback)Indicates the value ofInstancesToUpdateat the time the rollback started.RollbackDetails.BuilderpercentageCompleteOnRollback(Integer percentageCompleteOnRollback)Indicates the value ofPercentageCompleteat the time the rollback started.default RollbackDetails.BuilderprogressDetailsOnRollback(Consumer<InstanceRefreshProgressDetails.Builder> progressDetailsOnRollback)Reports progress on replacing instances in an Auto Scaling group that has a warm pool.RollbackDetails.BuilderprogressDetailsOnRollback(InstanceRefreshProgressDetails progressDetailsOnRollback)Reports progress on replacing instances in an Auto Scaling group that has a warm pool.RollbackDetails.BuilderrollbackReason(String rollbackReason)The reason for this instance refresh rollback (for example, whether a manual or automatic rollback was initiated).RollbackDetails.BuilderrollbackStartTime(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 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
PercentageCompleteat the time the rollback started.- Parameters:
percentageCompleteOnRollback- Indicates the value ofPercentageCompleteat 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
InstancesToUpdateat the time the rollback started.- Parameters:
instancesToUpdateOnRollback- Indicates the value ofInstancesToUpdateat 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.Builderavoiding the need to create one manually viaInstanceRefreshProgressDetails.builder().When the
Consumercompletes,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)
-
-