Class: Aws::S3::Types::ObjectLockRetention

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

A Retention configuration for an object.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#modeString

Indicates the Retention mode for the specified object.

Returns:

  • (String)


11912
11913
11914
11915
11916
11917
# File 'lib/aws-sdk-s3/types.rb', line 11912

class ObjectLockRetention < Struct.new(
  :mode,
  :retain_until_date)
  SENSITIVE = []
  include Aws::Structure
end

#retain_until_dateTime

The date on which this Object Lock Retention will expire.

Returns:

  • (Time)


11912
11913
11914
11915
11916
11917
# File 'lib/aws-sdk-s3/types.rb', line 11912

class ObjectLockRetention < Struct.new(
  :mode,
  :retain_until_date)
  SENSITIVE = []
  include Aws::Structure
end