@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Participants extends Object implements Serializable, Cloneable, StructuredPojo
Describes the users or user groups.
| Constructor and Description | 
|---|
| Participants() | 
| Modifier and Type | Method and Description | 
|---|---|
| Participants | clone() | 
| boolean | equals(Object obj) | 
| List<GroupMetadata> | getGroups()
 The list of user groups. | 
| List<UserMetadata> | getUsers()
 The list of users. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setGroups(Collection<GroupMetadata> groups)
 The list of user groups. | 
| void | setUsers(Collection<UserMetadata> users)
 The list of users. | 
| String | toString()Returns a string representation of this object. | 
| Participants | withGroups(Collection<GroupMetadata> groups)
 The list of user groups. | 
| Participants | withGroups(GroupMetadata... groups)
 The list of user groups. | 
| Participants | withUsers(Collection<UserMetadata> users)
 The list of users. | 
| Participants | withUsers(UserMetadata... users)
 The list of users. | 
public List<UserMetadata> getUsers()
The list of users.
public void setUsers(Collection<UserMetadata> users)
The list of users.
users - The list of users.public Participants withUsers(UserMetadata... users)
The list of users.
 NOTE: This method appends the values to the existing list (if any). Use
 setUsers(java.util.Collection) or withUsers(java.util.Collection) if you want to override the
 existing values.
 
users - The list of users.public Participants withUsers(Collection<UserMetadata> users)
The list of users.
users - The list of users.public List<GroupMetadata> getGroups()
The list of user groups.
public void setGroups(Collection<GroupMetadata> groups)
The list of user groups.
groups - The list of user groups.public Participants withGroups(GroupMetadata... groups)
The list of user groups.
 NOTE: This method appends the values to the existing list (if any). Use
 setGroups(java.util.Collection) or withGroups(java.util.Collection) if you want to override the
 existing values.
 
groups - The list of user groups.public Participants withGroups(Collection<GroupMetadata> groups)
The list of user groups.
groups - The list of user groups.public String toString()
toString in class ObjectObject.toString()public Participants clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.