toList

abstract fun toList(): List<S3Bucket>

Copies the contents of this BucketList into a list.

Bucket list will be in the order the buckets were returned from the S3 API.

Return

List of buckets