public class Owner
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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() |
public Owner()
Constructs a new Owner
without specifying an ID or display name.
Owner(String, String)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getId()
Gets the ID of the owner.
setId(String)
public void setId(java.lang.String id)
Sets the ID of the owner.
id
- The ID of the owner.getId()
public java.lang.String getDisplayName()
Gets the display name of the owner.
setDisplayName(String)
public void setDisplayName(java.lang.String name)
Sets the display name of the owner.
name
- The display name of the owner.getDisplayName()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.