Interface ListBucketsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListBucketsRequest.Builder,ListBucketsRequest>, S3Request.Builder, SdkBuilder<ListBucketsRequest.Builder,ListBucketsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListBucketsRequest

public static interface ListBucketsRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<ListBucketsRequest.Builder,ListBucketsRequest>
  • Method Details

    • maxBuckets

      ListBucketsRequest.Builder maxBuckets(Integer maxBuckets)

      Maximum number of buckets to be returned in response. When the number is more than the count of buckets that are owned by an Amazon Web Services account, return all the buckets in response.

      Parameters:
      maxBuckets - Maximum number of buckets to be returned in response. When the number is more than the count of buckets that are owned by an Amazon Web Services account, return all the buckets in response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • continuationToken

      ListBucketsRequest.Builder continuationToken(String continuationToken)

      ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results.

      Length Constraints: Minimum length of 0. Maximum length of 1024.

      Required: No.

      Parameters:
      continuationToken - ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results.

      Length Constraints: Minimum length of 0. Maximum length of 1024.

      Required: No.

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

      ListBucketsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.