Interface GetBucketsResponse.Builder

    • Method Detail

      • buckets

        GetBucketsResponse.Builder buckets​(Collection<Bucket> buckets)

        An array of objects that describe buckets.

        Parameters:
        buckets - An array of objects that describe buckets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • buckets

        GetBucketsResponse.Builder buckets​(Bucket... buckets)

        An array of objects that describe buckets.

        Parameters:
        buckets - An array of objects that describe buckets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextPageToken

        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.

        Parameters:
        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.

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

        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.

        Parameters:
        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.

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