Interface GetBucketsRequest.Builder

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

public static interface GetBucketsRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<GetBucketsRequest.Builder,GetBucketsRequest>
  • Method Details

    • bucketName

      GetBucketsRequest.Builder bucketName(String 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

      GetBucketsRequest.Builder pageToken(String 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

      GetBucketsRequest.Builder includeConnectedResources(Boolean 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 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.