Package com.amazonaws.services.s3.model
Class Owner
- java.lang.Object
-
- com.amazonaws.services.s3.model.Owner
-
- All Implemented Interfaces:
Serializable
public class Owner extends Object implements Serializable
Represents the owner of an Amazon S3 bucket.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Constructor Detail
-
Owner
public Owner()
Constructs a new
Owner
without specifying an ID or display name.- See Also:
Owner(String, String)
-
-
Method Detail
-
getId
public String getId()
Gets the ID of the owner.
- Returns:
- The ID of the owner.
- See Also:
setId(String)
-
setId
public void setId(String id)
Sets the ID of the owner.
- Parameters:
id
- The ID of the owner.- See Also:
getId()
-
getDisplayName
public String getDisplayName()
Gets the display name of the owner.
- Returns:
- The display name of the owner.
- See Also:
setDisplayName(String)
-
setDisplayName
public void setDisplayName(String name)
Sets the display name of the owner.
- Parameters:
name
- The display name of the owner.- See Also:
getDisplayName()
-
-