ReplicationRuleFilter
A filter that identifies the subset of objects to which the replication rule applies. A Filter
must specify exactly one Prefix
, Tag
, or an And
child element.
Inheritors
Types
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:
An object key name prefix that identifies the subset of objects to which the rule applies.
A container for specifying a tag key and value.
Functions
Casts this ReplicationRuleFilter as a And and retrieves its aws.sdk.kotlin.services.s3.model.ReplicationRuleAndOperator value. Throws an exception if the ReplicationRuleFilter is not a And.
Casts this ReplicationRuleFilter as a And and retrieves its aws.sdk.kotlin.services.s3.model.ReplicationRuleAndOperator value. Returns null if the ReplicationRuleFilter is not a And.
Casts this ReplicationRuleFilter as a Prefix and retrieves its kotlin.String value. Throws an exception if the ReplicationRuleFilter is not a Prefix.
Casts this ReplicationRuleFilter as a Prefix and retrieves its kotlin.String value. Returns null if the ReplicationRuleFilter is not a Prefix.
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.
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.