public class BucketMetadata extends Object implements Comparable<BucketMetadata>
Constructor and Description |
---|
BucketMetadata(String name,
Date creationDate,
CanonicalUser owner) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BucketMetadata o) |
boolean |
equals(Object obj) |
Date |
getCreationDate() |
String |
getName()
To comply with Amazon S3 requirements, bucket names must:
Contain lowercase letters, numbers, periods (.), underscores (_), and dashes (-)
Start with a number or letter
Be between 3 and 255 characters long
Not be in an IP address style (e.g., "192.168.5.4")
|
CanonicalUser |
getOwner()
Every bucket and object in Amazon S3 has an owner, the user that created the bucket or object.
|
int |
hashCode() |
public BucketMetadata(String name, Date creationDate, CanonicalUser owner)
public CanonicalUser getOwner()
public Date getCreationDate()
public String getName()
public int compareTo(BucketMetadata o)
compareTo
in interface Comparable<BucketMetadata>
Copyright © 2009-2013 jclouds. All Rights Reserved.