|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.Owner
public class Owner
Represents the owner of an Amazon S3 bucket.
Constructor Summary | |
---|---|
Owner()
Constructs a new Owner without specifying
an ID or display name. |
|
Owner(String id,
String displayName)
Constructs a new Owner with the specified
ID and display name. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDisplayName()
Gets the display name of the owner. |
String |
getId()
Gets the ID of the owner. |
int |
hashCode()
|
void |
setDisplayName(String name)
Sets the display name of the owner. |
void |
setId(String id)
Sets the ID of the owner. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Owner()
Constructs a new Owner
without specifying
an ID or display name.
Owner(String, String)
public Owner(String id, String displayName)
Constructs a new Owner
with the specified
ID and display name.
id
- The ID for the owner.displayName
- The display name for the owner.Owner()
Method Detail |
---|
public String toString()
toString
in class Object
public String getId()
Gets the ID of the owner.
setId(String)
public void setId(String id)
Sets the ID of the owner.
id
- The ID of the owner.getId()
public String getDisplayName()
Gets the display name of the owner.
setDisplayName(String)
public void setDisplayName(String name)
Sets the display name of the owner.
name
- The display name of the owner.getDisplayName()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |