Class PauseResult<T>

java.lang.Object
com.amazonaws.services.s3.transfer.PauseResult<T>
Type Parameters:
T - information that can be used to resume the paused operation; can be null if the pause failed.

public final class PauseResult<T> extends Object
The result of a pause operation.
  • Constructor Details

    • PauseResult

      public PauseResult(PauseStatus pauseStatus, T infoToResume)
    • PauseResult

      public PauseResult(PauseStatus pauseStatus)
  • Method Details

    • getPauseStatus

      public PauseStatus getPauseStatus()
      Returns information about whether the pause was successful or not; and if not why.
    • getInfoToResume

      public T getInfoToResume()
      Returns the information that can be used to resume a successfully paused operation.