Class AWS::S3::Tree::LeafNode
In: lib/aws/s3/tree/leaf_node.rb
Parent: Node

Represents a leaf in an {S3::Tree}.

When enumerating nodes in an S3 tree, keys are yielded as leaf nodes (they have no children beneath them).

@see Tree @note Generally you do not need to create leaf nodes

Methods

branch?   inspect   key   leaf?   new   object   upload   version  

Attributes

member  [R]  @return [mixed] Returns the object this leaf node represents. @see object @see version @see upload
parent  [R]  @return [Tree, BranchNode] The parent node in the tree.

Public Class methods

Public Instance methods

@return [false]

@return [String] the key this leaf node represents.

@return [true]

@return [S3Object] The object this leaf node represents.

@return [MultipartUpload] Returns the object version this leaf

  node represents.

@return [ObjectVersion] Returns the object version this leaf

  node represents.

[Validate]