And

A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter. For example:

  • If you specify both a Prefix and a Tag filter, wrap these filters in an And tag.

  • If you specify a filter based on multiple tags, wrap the Tag elements in an And tag.

Constructors

Link copied to clipboard
constructor(value: ReplicationRuleAndOperator)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Casts this ReplicationRuleFilter as a Prefix and retrieves its kotlin.String value. Throws an exception if the ReplicationRuleFilter is not a Prefix.

Link copied to clipboard

Casts this ReplicationRuleFilter as a Prefix and retrieves its kotlin.String value. Returns null if the ReplicationRuleFilter is not a Prefix.

Link copied to clipboard
fun asTag(): Tag

Casts this ReplicationRuleFilter as a Tag and retrieves its aws.sdk.kotlin.services.s3.model.Tag value. Throws an exception if the ReplicationRuleFilter is not a Tag.

Link copied to clipboard

Casts this ReplicationRuleFilter as a Tag and retrieves its aws.sdk.kotlin.services.s3.model.Tag value. Returns null if the ReplicationRuleFilter is not a Tag.