@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssociatedGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssociatedGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssociatedGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<GroupSummary> |
getGroups()
An array of structures that contain information about the groups that this canary is associated with.
|
String |
getNextToken()
A token that indicates that there is more data available.
|
int |
hashCode() |
void |
setGroups(Collection<GroupSummary> groups)
An array of structures that contain information about the groups that this canary is associated with.
|
void |
setNextToken(String nextToken)
A token that indicates that there is more data available.
|
String |
toString()
Returns a string representation of this object.
|
ListAssociatedGroupsResult |
withGroups(Collection<GroupSummary> groups)
An array of structures that contain information about the groups that this canary is associated with.
|
ListAssociatedGroupsResult |
withGroups(GroupSummary... groups)
An array of structures that contain information about the groups that this canary is associated with.
|
ListAssociatedGroupsResult |
withNextToken(String nextToken)
A token that indicates that there is more data available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GroupSummary> getGroups()
An array of structures that contain information about the groups that this canary is associated with.
public void setGroups(Collection<GroupSummary> groups)
An array of structures that contain information about the groups that this canary is associated with.
groups
- An array of structures that contain information about the groups that this canary is associated with.public ListAssociatedGroupsResult withGroups(GroupSummary... groups)
An array of structures that contain information about the groups that this canary is associated with.
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
- An array of structures that contain information about the groups that this canary is associated with.public ListAssociatedGroupsResult withGroups(Collection<GroupSummary> groups)
An array of structures that contain information about the groups that this canary is associated with.
groups
- An array of structures that contain information about the groups that this canary is associated with.public void setNextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent
ListAssociatedGroups
operation to retrieve the next set of results.
nextToken
- A token that indicates that there is more data available. You can use this token in a subsequent
ListAssociatedGroups
operation to retrieve the next set of results.public String getNextToken()
A token that indicates that there is more data available. You can use this token in a subsequent
ListAssociatedGroups
operation to retrieve the next set of results.
ListAssociatedGroups
operation to retrieve the next set of results.public ListAssociatedGroupsResult withNextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent
ListAssociatedGroups
operation to retrieve the next set of results.
nextToken
- A token that indicates that there is more data available. You can use this token in a subsequent
ListAssociatedGroups
operation to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListAssociatedGroupsResult clone()