@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Owner extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on the owner of the bucket.
Constructor and Description |
---|
Owner() |
Modifier and Type | Method and Description |
---|---|
Owner |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The canonical user ID of the bucket owner.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The canonical user ID of the bucket owner.
|
String |
toString()
Returns a string representation of this object.
|
Owner |
withId(String id)
The canonical user ID of the bucket owner.
|
public void setId(String id)
The canonical user ID of the bucket owner. For information about locating your canonical user ID see Finding Your Account Canonical User ID.
id
- The canonical user ID of the bucket owner. For information about locating your canonical user ID see Finding Your
Account Canonical User ID.public String getId()
The canonical user ID of the bucket owner. For information about locating your canonical user ID see Finding Your Account Canonical User ID.
public Owner withId(String id)
The canonical user ID of the bucket owner. For information about locating your canonical user ID see Finding Your Account Canonical User ID.
id
- The canonical user ID of the bucket owner. For information about locating your canonical user ID see Finding Your
Account Canonical User ID.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.