public class

Bucket

extends Object
implements Serializable
java.lang.Object
   ↳ org.mule.module.s3.model.Bucket

Summary

Constants
long serialVersionUID
Fields
private Date creationDate The date this bucket was created
private String name The name of this S3 bucket
private Owner owner The details on the owner of this bucket
Public Constructors
Bucket()
Constructs a bucket without any name specified.
Bucket(String name, Owner owner, Date creationDate)
Creates a bucket with a name.
Public Methods
boolean equals(Object o)
Date getCreationDate()
Gets the bucket's creation date.
String getName()
Gets the name of the bucket.
Owner getOwner()
Gets the bucket's owner.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -737347485117517827 (0xf5c46a5e718aeffd)

Fields

private Date creationDate

The date this bucket was created

private String name

The name of this S3 bucket

private Owner owner

The details on the owner of this bucket

Public Constructors

public Bucket ()

Constructs a bucket without any name specified.

public Bucket (String name, Owner owner, Date creationDate)

Creates a bucket with a name. All buckets in Amazon S3 share a single namespace; ensure the bucket is given a unique name.

Parameters
name The name for the bucket.
owner
creationDate
See Also

Public Methods

public boolean equals (Object o)

Parameters
o

public Date getCreationDate ()

Gets the bucket's creation date. Returns null if the creation date is not known.

Returns
  • The bucket's creation date, or null if not known.

public String getName ()

Gets the name of the bucket.

Returns
  • The name of this bucket.

public Owner getOwner ()

Gets the bucket's owner. Returns null if the bucket's owner is unknown.

Returns
  • The bucket's owner, or null if it is unknown.

public int hashCode ()

public String toString ()

See Also