public static interface DescribeBucketsResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<DescribeBucketsResponse.Builder,DescribeBucketsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeBucketsResponse.Builder |
buckets(BucketMetadata... buckets)
An array of objects, one for each bucket that matches the filter criteria specified in the request.
|
DescribeBucketsResponse.Builder |
buckets(Collection<BucketMetadata> buckets)
An array of objects, one for each bucket that matches the filter criteria specified in the request.
|
DescribeBucketsResponse.Builder |
buckets(Consumer<BucketMetadata.Builder>... buckets)
An array of objects, one for each bucket that matches the filter criteria specified in the request.
|
DescribeBucketsResponse.Builder |
nextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeBucketsResponse.Builder buckets(Collection<BucketMetadata> buckets)
An array of objects, one for each bucket that matches the filter criteria specified in the request.
buckets - An array of objects, one for each bucket that matches the filter criteria specified in the request.DescribeBucketsResponse.Builder buckets(BucketMetadata... buckets)
An array of objects, one for each bucket that matches the filter criteria specified in the request.
buckets - An array of objects, one for each bucket that matches the filter criteria specified in the request.DescribeBucketsResponse.Builder buckets(Consumer<BucketMetadata.Builder>... buckets)
An array of objects, one for each bucket that matches the filter criteria specified in the request.
This is a convenience method that creates an instance of theBucketMetadata.Builder avoiding the need to create one
manually via BucketMetadata.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #buckets(List.
buckets - a consumer that will call methods on
BucketMetadata.Builder#buckets(java.util.Collection) DescribeBucketsResponse.Builder nextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken - The string to use in a subsequent request to get the next page of results in a paginated response.
This value is null if there are no additional pages.Copyright © 2023. All rights reserved.