public final class CopyOutcome extends Object
Constructor and Description |
---|
CopyOutcome(com.amazonaws.services.s3.transfer.model.CopyResult copyResult,
InterruptedException interruptedException,
com.amazonaws.SdkBaseException awsException) |
Modifier and Type | Method and Description |
---|---|
com.amazonaws.SdkBaseException |
getAwsException() |
com.amazonaws.services.s3.transfer.model.CopyResult |
getCopyResult() |
InterruptedException |
getInterruptedException() |
static CopyOutcome |
waitForCopy(com.amazonaws.services.s3.transfer.Copy copy)
Calls
Copy.waitForCopyResult() to await the result, converts
it to a copy outcome. |
public CopyOutcome(com.amazonaws.services.s3.transfer.model.CopyResult copyResult, InterruptedException interruptedException, com.amazonaws.SdkBaseException awsException)
public com.amazonaws.services.s3.transfer.model.CopyResult getCopyResult()
public InterruptedException getInterruptedException()
public com.amazonaws.SdkBaseException getAwsException()
public static CopyOutcome waitForCopy(com.amazonaws.services.s3.transfer.Copy copy)
Copy.waitForCopyResult()
to await the result, converts
it to a copy outcome.
Exceptions caught andcopy
- the copy operation.Copyright © 2008–2020 Apache Software Foundation. All rights reserved.