public static interface GetBucketsResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetBucketsResponse.Builder,GetBucketsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetBucketsResponse.Builder |
accountLevelBpaSync(AccountLevelBpaSync accountLevelBpaSync)
An object that describes the synchronization status of the Amazon S3 account-level block public access
feature for your Lightsail buckets.
|
default GetBucketsResponse.Builder |
accountLevelBpaSync(Consumer<AccountLevelBpaSync.Builder> accountLevelBpaSync)
An object that describes the synchronization status of the Amazon S3 account-level block public access
feature for your Lightsail buckets.
|
GetBucketsResponse.Builder |
buckets(Bucket... buckets)
An array of objects that describe buckets.
|
GetBucketsResponse.Builder |
buckets(Collection<Bucket> buckets)
An array of objects that describe buckets.
|
GetBucketsResponse.Builder |
buckets(Consumer<Bucket.Builder>... buckets)
An array of objects that describe buckets.
|
GetBucketsResponse.Builder |
nextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetBucketsResponse.Builder buckets(Collection<Bucket> buckets)
An array of objects that describe buckets.
buckets - An array of objects that describe buckets.GetBucketsResponse.Builder buckets(Bucket... buckets)
An array of objects that describe buckets.
buckets - An array of objects that describe buckets.GetBucketsResponse.Builder buckets(Consumer<Bucket.Builder>... buckets)
An array of objects that describe buckets.
This is a convenience method that creates an instance of theBucket.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.
buckets - a consumer that will call methods on
Bucket.Builder#buckets(java.util.Collection) GetBucketsResponse.Builder nextPageToken(String nextPageToken)
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets request and specify the next page
token using the pageToken parameter.
nextPageToken - The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets request and specify the next
page token using the pageToken parameter.
GetBucketsResponse.Builder accountLevelBpaSync(AccountLevelBpaSync accountLevelBpaSync)
An object that describes the synchronization status of the Amazon S3 account-level block public access feature for your Lightsail buckets.
For more information about this feature and how it affects Lightsail buckets, see Block public access for buckets in Amazon Lightsail.
accountLevelBpaSync - An object that describes the synchronization status of the Amazon S3 account-level block public access
feature for your Lightsail buckets.
For more information about this feature and how it affects Lightsail buckets, see Block public access for buckets in Amazon Lightsail.
default GetBucketsResponse.Builder accountLevelBpaSync(Consumer<AccountLevelBpaSync.Builder> accountLevelBpaSync)
An object that describes the synchronization status of the Amazon S3 account-level block public access feature for your Lightsail buckets.
For more information about this feature and how it affects Lightsail buckets, see Block public access for buckets in Amazon Lightsail.
This is a convenience method that creates an instance of theAccountLevelBpaSync.Builder avoiding the
need to create one manually via AccountLevelBpaSync.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to accountLevelBpaSync(AccountLevelBpaSync).
accountLevelBpaSync - a consumer that will call methods on AccountLevelBpaSync.BuilderaccountLevelBpaSync(AccountLevelBpaSync)Copyright © 2022. All rights reserved.