stream

abstract fun stream(): Stream<S3Bucket>

Returns a stream over the contents of this BucketList.

The contents of the stream will be in the order the buckets were returned from the S3 api.

Return

Stream of buckets.