Class DeleteObjectsResult

    • Method Detail

      • isRequesterCharged

        public boolean isRequesterCharged()
        Description copied from interface: com.amazonaws.services.s3.internal.S3RequesterChargedResult
        Returns true if the user has enabled Requester Pays option when conducting this operation from Requester Pays Bucket; else false.

        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

        Specified by:
        isRequesterCharged in interface com.amazonaws.services.s3.internal.S3RequesterChargedResult
        Returns:
        true if the user has enabled Requester Pays option for conducting this operation from Requester Pays Bucket.
      • setRequesterCharged

        public void setRequesterCharged​(boolean isRequesterCharged)
        Description copied from interface: com.amazonaws.services.s3.internal.S3RequesterChargedResult
        Used for conducting this operation from a Requester Pays Bucket. If set the requester is charged for conducting the operation from the bucket.

        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.

        Specified by:
        setRequesterCharged in interface com.amazonaws.services.s3.internal.S3RequesterChargedResult
        Parameters:
        isRequesterCharged - Indicates requester is charged for this operation.