You are viewing documentation for version 1 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

included, #to_s, #to_xml, #valid?, #validate!

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



58
59
60
# File 'lib/aws/s3/access_control_list.rb', line 58

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



58
59
60
# File 'lib/aws/s3/access_control_list.rb', line 58

def id
  @id
end