com.amazonaws.services.s3.model
Class Owner

java.lang.Object
  extended by com.amazonaws.services.s3.model.Owner
All Implemented Interfaces:
java.io.Serializable

public class Owner
extends java.lang.Object
implements java.io.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(java.lang.String id, java.lang.String displayName)
           Constructs a new Owner with the specified ID and display name.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDisplayName()
           Gets the display name of the owner.
 java.lang.String getId()
           Gets the ID of the owner.
 int hashCode()
           
 void setDisplayName(java.lang.String name)
           Sets the display name of the owner.
 void setId(java.lang.String id)
           Sets the ID of the owner.
 java.lang.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(java.lang.String id,
             java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object

getId

public java.lang.String getId()

Gets the ID of the owner.

Returns:
The ID of the owner.
See Also:
setId(String)

setId

public void setId(java.lang.String id)

Sets the ID of the owner.

Parameters:
id - The ID of the owner.
See Also:
getId()

getDisplayName

public java.lang.String getDisplayName()

Gets the display name of the owner.

Returns:
The display name of the owner.
See Also:
setDisplayName(String)

setDisplayName

public void setDisplayName(java.lang.String name)

Sets the display name of the owner.

Parameters:
name - The display name of the owner.
See Also:
getDisplayName()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


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