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 Summary
Constructors Constructor Description PauseResult(PauseStatus pauseStatus)
PauseResult(PauseStatus pauseStatus, T infoToResume)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getInfoToResume()
Returns the information that can be used to resume a successfully paused operation.PauseStatus
getPauseStatus()
Returns information about whether the pause was successful or not; and if not why.
-
-
-
Constructor Detail
-
PauseResult
public PauseResult(PauseStatus pauseStatus, T infoToResume)
-
PauseResult
public PauseResult(PauseStatus pauseStatus)
-
-
Method Detail
-
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.
-
-