get

abstract operator fun get(name: BucketName): S3Bucket?

Retrieves the bucket in this BucketList with the given name (if such a bucket exists).

Return

The target bucket, if it exists, otherwise null.


abstract operator fun get(index: Int): S3Bucket

Returns the S3Bucket in this BucketList at the given index.

Return

The target bucket.