Interface GetBucketsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetBucketsRequest.Builder,
,GetBucketsRequest> LightsailRequest.Builder
,SdkBuilder<GetBucketsRequest.Builder,
,GetBucketsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetBucketsRequest
-
Method Summary
Modifier and TypeMethodDescriptionbucketName
(String bucketName) The name of the bucket for which to return information.includeConnectedResources
(Boolean includeConnectedResources) A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The token to advance to the next page of results from your request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
bucketName
The name of the bucket for which to return information.
When omitted, the response includes all of your buckets in the Amazon Web Services Region where the request is made.
- Parameters:
bucketName
- The name of the bucket for which to return information.When omitted, the response includes all of your buckets in the Amazon Web Services Region where the request is made.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageToken
The token to advance to the next page of results from your request.
To get a page token, perform an initial
GetBuckets
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.- Parameters:
pageToken
- The token to advance to the next page of results from your request.To get a page token, perform an initial
GetBuckets
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeConnectedResources
A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.
- Parameters:
includeConnectedResources
- A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetBucketsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetBucketsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-