public interface S3RequesterChargedResult
Modifier and Type | Method and Description |
---|---|
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.
|
boolean isRequesterCharged()
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
void setRequesterCharged(boolean isRequesterCharged)
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.
isRequesterCharged
- Indicates requester is charged for this operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.