@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchedUser extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata about a User searched for within a collection.
Constructor and Description |
---|
SearchedUser() |
Modifier and Type | Method and Description |
---|---|
SearchedUser |
clone() |
boolean |
equals(Object obj) |
String |
getUserId()
A provided ID for the UserID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUserId(String userId)
A provided ID for the UserID.
|
String |
toString()
Returns a string representation of this object.
|
SearchedUser |
withUserId(String userId)
A provided ID for the UserID.
|
public void setUserId(String userId)
A provided ID for the UserID. Unique within the collection.
userId
- A provided ID for the UserID. Unique within the collection.public String getUserId()
A provided ID for the UserID. Unique within the collection.
public SearchedUser withUserId(String userId)
A provided ID for the UserID. Unique within the collection.
userId
- A provided ID for the UserID. Unique within the collection.public String toString()
toString
in class Object
Object.toString()
public SearchedUser clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.