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()
S3RequesterChargedResult
If 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 S3RequesterChargedResult
public void setRequesterCharged(boolean isRequesterCharged)
S3RequesterChargedResult
If 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 S3RequesterChargedResult
isRequesterCharged
- Indicates requester is charged for this operation.public String getRestoreOutputPath()
getRestoreOutputPath
in interface S3RestoreOutputPathResult
public void setRestoreOutputPath(String restoreOutputPath)
S3RestoreOutputPathResult
setRestoreOutputPath
in interface S3RestoreOutputPathResult
restoreOutputPath
- the path in the provided S3 output location where Select results will be restored toCopyright © 2021. All rights reserved.