public class UserReference
extends java.lang.Object
implements java.io.Serializable
Information about the user.
| Constructor and Description |
|---|
UserReference() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) for the user.
|
java.lang.String |
getId()
The unique identifier for the user.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the user.
|
void |
setId(java.lang.String id)
The unique identifier for the user.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserReference |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the user.
|
UserReference |
withId(java.lang.String id)
The unique identifier for the user.
|
public java.lang.String getId()
The unique identifier for the user.
The unique identifier for the user.
public void setId(java.lang.String id)
The unique identifier for the user.
id - The unique identifier for the user.
public UserReference withId(java.lang.String id)
The unique identifier for the user.
Returns a reference to this object so that method calls can be chained together.
id - The unique identifier for the user.
public java.lang.String getArn()
The Amazon Resource Name (ARN) for the user.
The Amazon Resource Name (ARN) for the user.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the user.
arn - The Amazon Resource Name (ARN) for the user.
public UserReference withArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the user.
Returns a reference to this object so that method calls can be chained together.
arn - The Amazon Resource Name (ARN) for the user.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object