public class RestoreObjectResult extends Object implements Serializable, S3RequesterChargedResult, S3RestoreOutputPathResult
AmazonS3Client.restoreObject(RestoreObjectRequest)
operation.| Constructor and Description |
|---|
RestoreObjectResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getRestoreOutputPath() |
int |
hashCode() |
boolean |
isRequesterCharged()
Returns true if the user has enabled Requester Pays option when
conducting this operation from Requester Pays Bucket; else false.
|
void |
setRequesterCharged(boolean isRequesterCharged)
Used for conducting this operation from a Requester Pays Bucket.
|
void |
setRestoreOutputPath(String restoreOutputPath)
Sets the path in the provided S3 output location where Select results will be restored to.
|
String |
toString() |
public boolean isRequesterCharged()
S3RequesterChargedResultIf a bucket is enabled for Requester Pays, then any attempt of operation from it without Requester Pays enabled will result in a 403 error and the bucket owner will be charged for the request.
Enabling Requester Pays disables the ability to have anonymous access to this bucket
isRequesterCharged in interface S3RequesterChargedResultpublic void setRequesterCharged(boolean isRequesterCharged)
S3RequesterChargedResultIf a bucket is enabled for Requester Pays, then any attempt of operation from it without Requester Pays enabled will result in a 403 error and the bucket owner will be charged for the request.
setRequesterCharged in interface S3RequesterChargedResultisRequesterCharged - Indicates requester is charged for this operation.public String getRestoreOutputPath()
getRestoreOutputPath in interface S3RestoreOutputPathResultpublic void setRestoreOutputPath(String restoreOutputPath)
S3RestoreOutputPathResultsetRestoreOutputPath in interface S3RestoreOutputPathResultrestoreOutputPath - the path in the provided S3 output location where Select results will be restored to