com.amazonaws.services.s3.transfer
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 java.lang.Object
The result of a pause operation.
Method Summary |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PauseResult
public PauseResult(PauseStatus pauseStatus,
T infoToResume)
PauseResult
public PauseResult(PauseStatus pauseStatus)
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.
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.