Class DeleteBucketPolicyRequest

    • Constructor Detail

      • DeleteBucketPolicyRequest

        public DeleteBucketPolicyRequest​(String bucketName)
        Creates a new request object, ready to be executed to delete the bucket policy of an Amazon S3 bucket.
        Parameters:
        bucketName - The name of the Amazon S3 bucket whose policy is being deleted.
    • Method Detail

      • getBucketName

        public String getBucketName()
        Returns the name of the Amazon S3 bucket whose policy is being deleted.
        Returns:
        The name of the Amazon S3 bucket whose policy is being deleted.
      • setBucketName

        public void setBucketName​(String bucketName)
        Sets the name of the Amazon S3 bucket whose policy is being deleted.
        Parameters:
        bucketName - The name of the Amazon S3 bucket whose policy is being deleted.
      • withBucketName

        public DeleteBucketPolicyRequest withBucketName​(String bucketName)
        Sets the name of the Amazon S3 bucket whose policy is being deleted, and returns the updated request object so that additional method calls can be chained together.
        Parameters:
        bucketName - The name of the Amazon S3 bucket whose policy is being deleted.
        Returns:
        The updated request object so that additional method calls can be chained together.