Interface ListBucketsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListBucketsResponse.Builder,ListBucketsResponse>, S3Response.Builder, SdkBuilder<ListBucketsResponse.Builder,ListBucketsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListBucketsResponse

public static interface ListBucketsResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<ListBucketsResponse.Builder,ListBucketsResponse>
  • Method Details

    • 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.
    • buckets

      The list of buckets owned by the requester.

      This is a convenience method that creates an instance of the Bucket.Builder avoiding the need to create one manually via Bucket.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to buckets(List<Bucket>).

      Parameters:
      buckets - a consumer that will call methods on Bucket.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • owner

      The owner of the buckets listed.

      This is a convenience method that creates an instance of the Owner.Builder avoiding the need to create one manually via Owner.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to owner(Owner).

      Parameters:
      owner - a consumer that will call methods on Owner.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.