All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.s3.internal.S3RequesterChargedResult Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon S3 module holds the client classes that are used for communicating with Amazon Simple Storage Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2016-2024 Amazon Technologies, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at:
 *
 *    http://aws.amazon.com/apache2.0
 *
 * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
 * OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and
 * limitations under the License.
 */
package com.amazonaws.services.s3.internal;

public interface 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 * * @return true if the user has enabled Requester Pays option for * conducting this operation from Requester Pays Bucket. */ public boolean isRequesterCharged(); /** * 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. * * @param isRequesterCharged * Indicates requester is charged for this operation. */ public void setRequesterCharged(boolean isRequesterCharged); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy