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 Details

    • 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 of PercentageComplete 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 of InstancesToUpdate 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 the InstanceRefreshProgressDetails.Builder avoiding the need to create one manually via InstanceRefreshProgressDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to progressDetailsOnRollback(InstanceRefreshProgressDetails).

      Parameters:
      progressDetailsOnRollback - a consumer that will call methods on InstanceRefreshProgressDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: