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 booleanequals(Object obj)StringgetDisplayName()Gets the display name of the owner.StringgetId()Gets the ID of the owner.inthashCode()voidsetDisplayName(String name)Sets the display name of the owner.voidsetId(String id)Sets the ID of the owner.StringtoString()
-
-
-
Constructor Detail
-
Owner
public Owner()
Constructs a new
Ownerwithout 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()
-
-