Package org.jclouds.s3.domain
Class CanonicalUser
- java.lang.Object
-
- org.jclouds.s3.domain.CanonicalUser
-
public class CanonicalUser extends Object
Every bucket and object in Amazon S3 has an owner, the user that created the bucket or object. The owner of a bucket or object cannot be changed. However, if the object is overwritten by another user (deleted and rewritten), the new object will have a new owner.
-
-
Constructor Summary
Constructors Constructor Description CanonicalUser()
CanonicalUser(String id)
CanonicalUser(String id, String displayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getDisplayName()
read-only as is maintained by Amazon.String
getId()
To locate the CanonicalUser ID for a user, the user must perform theBaseBlobStore.list(String)
and retrieveBucketMetadata.getOwner()
int
hashCode()
void
setDisplayName(String displayName)
void
setId(String id)
-
-
-
Method Detail
-
getId
public String getId()
To locate the CanonicalUser ID for a user, the user must perform theBaseBlobStore.list(String)
and retrieveBucketMetadata.getOwner()
-
setId
public void setId(String id)
-
getDisplayName
public String getDisplayName()
read-only as is maintained by Amazon.
-
setDisplayName
public void setDisplayName(String displayName)
-
-