getBucket

suspend fun getBucket(name: String, common: CommonOptions = CommonOptions.Default): BucketSettings

Throws

com.couchbase.client.core.error.BucketNotFoundException

if the specified bucket does not exist.