@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListGroupsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<GroupSummary> |
getItems()
Summary information for list of groups that are mapped to users.
|
String |
getNextToken()
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to
retrieve the next set of groups that are mapped to users.
|
int |
hashCode() |
void |
setItems(Collection<GroupSummary> items)
Summary information for list of groups that are mapped to users.
|
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to
retrieve the next set of groups that are mapped to users.
|
String |
toString()
Returns a string representation of this object.
|
ListGroupsResult |
withItems(Collection<GroupSummary> items)
Summary information for list of groups that are mapped to users.
|
ListGroupsResult |
withItems(GroupSummary... items)
Summary information for list of groups that are mapped to users.
|
ListGroupsResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to
retrieve the next set of groups that are mapped to users.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users.
nextToken - If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent
request to retrieve the next set of groups that are mapped to users.public String getNextToken()
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users.
public ListGroupsResult withNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users.
nextToken - If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent
request to retrieve the next set of groups that are mapped to users.public List<GroupSummary> getItems()
Summary information for list of groups that are mapped to users.
public void setItems(Collection<GroupSummary> items)
Summary information for list of groups that are mapped to users.
items - Summary information for list of groups that are mapped to users.public ListGroupsResult withItems(GroupSummary... items)
Summary information for list of groups that are mapped to users.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
existing values.
items - Summary information for list of groups that are mapped to users.public ListGroupsResult withItems(Collection<GroupSummary> items)
Summary information for list of groups that are mapped to users.
items - Summary information for list of groups that are mapped to users.public String toString()
toString in class ObjectObject.toString()public ListGroupsResult clone()