com.amazonaws.services.s3.model
Class Owner

java.lang.Object
  extended by 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

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

Owner

public Owner()

Constructs a new Owner without specifying an ID or display name.

See Also:
Owner(String, String)

Owner

public Owner(String id,
             String displayName)

Constructs a new Owner with the specified ID and display name.

Parameters:
id - The ID for the owner.
displayName - The display name for the owner.
See Also:
Owner()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

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()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.