Prefix

data class Prefix(val value: String) : LifecycleRuleFilter

Prefix identifying one or more objects to which the rule applies.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

Casts this LifecycleRuleFilter as a ObjectSizeGreaterThan and retrieves its kotlin.Long value. Throws an exception if the LifecycleRuleFilter is not a ObjectSizeGreaterThan.

Link copied to clipboard

Casts this LifecycleRuleFilter as a ObjectSizeGreaterThan and retrieves its kotlin.Long value. Returns null if the LifecycleRuleFilter is not a ObjectSizeGreaterThan.

Link copied to clipboard

Casts this LifecycleRuleFilter as a ObjectSizeLessThan and retrieves its kotlin.Long value. Throws an exception if the LifecycleRuleFilter is not a ObjectSizeLessThan.

Link copied to clipboard

Casts this LifecycleRuleFilter as a ObjectSizeLessThan and retrieves its kotlin.Long value. Returns null if the LifecycleRuleFilter is not a ObjectSizeLessThan.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
fun asTag(): Tag

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

Link copied to clipboard

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