Class: AWS::S3::AccessControlList::Owner

Inherits:
Object
  • Object
show all
Includes:
AWS::S3::ACLObject
Defined in:
lib/aws/s3/access_control_list.rb

Overview

Represents an ACL owner. In the default ACL, this is the bucket owner.

Instance Attribute Summary collapse

Method Summary

Methods included from AWS::S3::ACLObject

#body_xml, #element_name, included, #initialize, #stag, #to_s, #to_xml, #valid?, #validate!, #validate_input

Instance Attribute Details

#display_nameString

The display name of the ACL owner. This value is ignored when setting an ACL.

Returns:

  • (String)

    the current value of display_name



56
57
58
# File 'lib/aws/s3/access_control_list.rb', line 56

def display_name
  @display_name
end

#idString

The canonical user ID of the ACL owner. This attribute is required when setting an ACL.

Returns:

  • (String)

    the current value of id



56
57
58
# File 'lib/aws/s3/access_control_list.rb', line 56

def id
  @id
end