Interface ListBucketsResponse.Builder

    • Method Detail

      • buckets

        ListBucketsResponse.Builder buckets​(Collection<Bucket> buckets)

        The list of buckets owned by the requester.

        Parameters:
        buckets - The list of buckets owned by the requester.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • buckets

        ListBucketsResponse.Builder buckets​(Bucket... buckets)

        The list of buckets owned by the requester.

        Parameters:
        buckets - The list of buckets owned by the requester.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • owner

        ListBucketsResponse.Builder owner​(Owner owner)

        The owner of the buckets listed.

        Parameters:
        owner - The owner of the buckets listed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • continuationToken

        ListBucketsResponse.Builder continuationToken​(String continuationToken)

        ContinuationToken is included in the response when there are more buckets that can be listed with pagination. The next ListBuckets request to Amazon S3 can be continued with this ContinuationToken. ContinuationToken is obfuscated and is not a real bucket.

        Parameters:
        continuationToken - ContinuationToken is included in the response when there are more buckets that can be listed with pagination. The next ListBuckets request to Amazon S3 can be continued with this ContinuationToken. ContinuationToken is obfuscated and is not a real bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • prefix

        ListBucketsResponse.Builder prefix​(String prefix)

        If Prefix was sent with the request, it is included in the response.

        All bucket names in the response begin with the specified bucket name prefix.

        Parameters:
        prefix - If Prefix was sent with the request, it is included in the response.

        All bucket names in the response begin with the specified bucket name prefix.

        Returns:
        Returns a reference to this object so that method calls can be chained together.