BucketTagContainer

Functions

Link copied to clipboard
abstract operator fun contains(key: String): Boolean
abstract fun contains(key: String, action: TagExistsParams.() -> Unit): Boolean
abstract fun contains(key: String, params: TagExistsParams): Boolean

Tests whether this BucketTagContainer contains a tag with the given key.

Link copied to clipboard
abstract fun count(): Int
abstract fun count(action: TagCountParams.() -> Unit): Int
abstract fun count(params: TagCountParams): Int

Fetches the number of tags currently attached to this tag container.

Link copied to clipboard
abstract fun delete(vararg keys: String)
abstract fun delete(action: TargetedBucketTagDeleteParams.() -> Unit)
abstract fun delete(keys: Iterable<String>)

Deletes the target tags from this S3Bucket.

Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(action: DeleteAllTagsParams.() -> Unit)
abstract fun deleteAll(params: DeleteAllTagsParams)

Deletes all tags currently attached to this bucket.

Link copied to clipboard
abstract fun get(vararg keys: String): TagMap
abstract fun get(action: TagGetParams.() -> Unit): TagMap
abstract fun get(keys: Iterable<String>): TagMap
abstract fun get(params: TagGetParams): TagMap

Gets the target tags from this S3Bucket.

abstract operator fun get(key: String): String?

Gets the target tag from this S3Bucket.

Link copied to clipboard
abstract fun getAll(): TagMap

Gets all tags currently attached to this S3Bucket.

Link copied to clipboard
abstract fun put(vararg tags: Pair<String, String>)
abstract fun put(vararg tags: Tag)
abstract fun put(tags: Iterable<Tag>)
abstract fun put(tags: Map<String, String>)
abstract fun put(tags: TagMap)

Puts the given tags onto this tag container.

abstract fun put(action: TagPutParams.() -> Unit)
abstract fun put(params: TagPutParams)

Puts the configured tags onto this tag container.

abstract fun put(key: String, value: String)

Puts the given key/value pair as a tag on this tag container.

Link copied to clipboard
open operator fun set(key: String, value: String)

Puts the given key/value pair as a tag on this tag container.