@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupMembers extends Object implements Serializable, Cloneable, StructuredPojo
A list of users or sub groups that belong to a group. Users and groups are useful for filtering search results to different users based on their group's access to documents.
Constructor and Description |
---|
GroupMembers() |
Modifier and Type | Method and Description |
---|---|
GroupMembers |
clone() |
boolean |
equals(Object obj) |
List<MemberGroup> |
getMemberGroups()
A list of sub groups that belong to a group.
|
List<MemberUser> |
getMemberUsers()
A list of users that belong to a group.
|
S3Path |
getS3PathforGroupMembers()
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3
file that lists your users and sub groups for a group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMemberGroups(Collection<MemberGroup> memberGroups)
A list of sub groups that belong to a group.
|
void |
setMemberUsers(Collection<MemberUser> memberUsers)
A list of users that belong to a group.
|
void |
setS3PathforGroupMembers(S3Path s3PathforGroupMembers)
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3
file that lists your users and sub groups for a group.
|
String |
toString()
Returns a string representation of this object.
|
GroupMembers |
withMemberGroups(Collection<MemberGroup> memberGroups)
A list of sub groups that belong to a group.
|
GroupMembers |
withMemberGroups(MemberGroup... memberGroups)
A list of sub groups that belong to a group.
|
GroupMembers |
withMemberUsers(Collection<MemberUser> memberUsers)
A list of users that belong to a group.
|
GroupMembers |
withMemberUsers(MemberUser... memberUsers)
A list of users that belong to a group.
|
GroupMembers |
withS3PathforGroupMembers(S3Path s3PathforGroupMembers)
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3
file that lists your users and sub groups for a group.
|
public List<MemberGroup> getMemberGroups()
A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".
public void setMemberGroups(Collection<MemberGroup> memberGroups)
A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".
memberGroups
- A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and
"Sales and Marketing" all belong to the group "Company".public GroupMembers withMemberGroups(MemberGroup... memberGroups)
A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".
NOTE: This method appends the values to the existing list (if any). Use
setMemberGroups(java.util.Collection)
or withMemberGroups(java.util.Collection)
if you want to
override the existing values.
memberGroups
- A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and
"Sales and Marketing" all belong to the group "Company".public GroupMembers withMemberGroups(Collection<MemberGroup> memberGroups)
A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".
memberGroups
- A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and
"Sales and Marketing" all belong to the group "Company".public List<MemberUser> getMemberUsers()
A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.
public void setMemberUsers(Collection<MemberUser> memberUsers)
A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.
memberUsers
- A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.public GroupMembers withMemberUsers(MemberUser... memberUsers)
A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.
NOTE: This method appends the values to the existing list (if any). Use
setMemberUsers(java.util.Collection)
or withMemberUsers(java.util.Collection)
if you want to
override the existing values.
memberUsers
- A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.public GroupMembers withMemberUsers(Collection<MemberUser> memberUsers)
A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.
memberUsers
- A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.public void setS3PathforGroupMembers(S3Path s3PathforGroupMembers)
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
You can download this example S3
file that uses the correct format for listing group members. Note, dataSourceId
is optional. The
value of type
for a group is always GROUP
and for a user it is always USER
.
s3PathforGroupMembers
- If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the
S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000
users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
You can download this example S3 file that
uses the correct format for listing group members. Note, dataSourceId
is optional. The value
of type
for a group is always GROUP
and for a user it is always
USER
.
public S3Path getS3PathforGroupMembers()
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
You can download this example S3
file that uses the correct format for listing group members. Note, dataSourceId
is optional. The
value of type
for a group is always GROUP
and for a user it is always USER
.
You can download this example S3 file that
uses the correct format for listing group members. Note, dataSourceId
is optional. The value
of type
for a group is always GROUP
and for a user it is always
USER
.
public GroupMembers withS3PathforGroupMembers(S3Path s3PathforGroupMembers)
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
You can download this example S3
file that uses the correct format for listing group members. Note, dataSourceId
is optional. The
value of type
for a group is always GROUP
and for a user it is always USER
.
s3PathforGroupMembers
- If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the
S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000
users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
You can download this example S3 file that
uses the correct format for listing group members. Note, dataSourceId
is optional. The value
of type
for a group is always GROUP
and for a user it is always
USER
.
public String toString()
toString
in class Object
Object.toString()
public GroupMembers clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.