Class: Aws::S3Control::Types::LifecycleRuleFilter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb

Overview

The container for the filter of the lifecycle rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#andTypes::LifecycleRuleAndOperator

The container for the AND condition for the lifecycle rule.



3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3261

class LifecycleRuleFilter < Struct.new(
  :prefix,
  :tag,
  :and,
  :object_size_greater_than,
  :object_size_less_than)
  SENSITIVE = []
  include Aws::Structure
end

#object_size_greater_thanInteger

Minimum object size to which the rule applies.

Returns:

  • (Integer)


3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3261

class LifecycleRuleFilter < Struct.new(
  :prefix,
  :tag,
  :and,
  :object_size_greater_than,
  :object_size_less_than)
  SENSITIVE = []
  include Aws::Structure
end

#object_size_less_thanInteger

Maximum object size to which the rule applies.

Returns:

  • (Integer)


3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3261

class LifecycleRuleFilter < Struct.new(
  :prefix,
  :tag,
  :and,
  :object_size_greater_than,
  :object_size_less_than)
  SENSITIVE = []
  include Aws::Structure
end

#prefixString

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

When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide.

Returns:

  • (String)


3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3261

class LifecycleRuleFilter < Struct.new(
  :prefix,
  :tag,
  :and,
  :object_size_greater_than,
  :object_size_less_than)
  SENSITIVE = []
  include Aws::Structure
end

#tagTypes::S3Tag

A container for a key-value name pair.

Returns:



3261
3262
3263
3264
3265
3266
3267
3268
3269
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3261

class LifecycleRuleFilter < Struct.new(
  :prefix,
  :tag,
  :and,
  :object_size_greater_than,
  :object_size_less_than)
  SENSITIVE = []
  include Aws::Structure
end