@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUserHierarchyGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListUserHierarchyGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListUserHierarchyGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A string returned in the response.
|
List<HierarchyGroupSummary> |
getUserHierarchyGroupSummaryList()
An array of
HierarchyGroupSummary objects. |
int |
hashCode() |
void |
setNextToken(String nextToken)
A string returned in the response.
|
void |
setUserHierarchyGroupSummaryList(Collection<HierarchyGroupSummary> userHierarchyGroupSummaryList)
An array of
HierarchyGroupSummary objects. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListUserHierarchyGroupsResult |
withNextToken(String nextToken)
A string returned in the response.
|
ListUserHierarchyGroupsResult |
withUserHierarchyGroupSummaryList(Collection<HierarchyGroupSummary> userHierarchyGroupSummaryList)
An array of
HierarchyGroupSummary objects. |
ListUserHierarchyGroupsResult |
withUserHierarchyGroupSummaryList(HierarchyGroupSummary... userHierarchyGroupSummaryList)
An array of
HierarchyGroupSummary objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<HierarchyGroupSummary> getUserHierarchyGroupSummaryList()
An array of HierarchyGroupSummary
objects.
HierarchyGroupSummary
objects.public void setUserHierarchyGroupSummaryList(Collection<HierarchyGroupSummary> userHierarchyGroupSummaryList)
An array of HierarchyGroupSummary
objects.
userHierarchyGroupSummaryList
- An array of HierarchyGroupSummary
objects.public ListUserHierarchyGroupsResult withUserHierarchyGroupSummaryList(HierarchyGroupSummary... userHierarchyGroupSummaryList)
An array of HierarchyGroupSummary
objects.
NOTE: This method appends the values to the existing list (if any). Use
setUserHierarchyGroupSummaryList(java.util.Collection)
or
withUserHierarchyGroupSummaryList(java.util.Collection)
if you want to override the existing values.
userHierarchyGroupSummaryList
- An array of HierarchyGroupSummary
objects.public ListUserHierarchyGroupsResult withUserHierarchyGroupSummaryList(Collection<HierarchyGroupSummary> userHierarchyGroupSummaryList)
An array of HierarchyGroupSummary
objects.
userHierarchyGroupSummaryList
- An array of HierarchyGroupSummary
objects.public void setNextToken(String nextToken)
A string returned in the response. Use the value returned in the response as the value of the NextToken in a subsequent request to retrieve the next set of results.
nextToken
- A string returned in the response. Use the value returned in the response as the value of the NextToken in
a subsequent request to retrieve the next set of results.public String getNextToken()
A string returned in the response. Use the value returned in the response as the value of the NextToken in a subsequent request to retrieve the next set of results.
public ListUserHierarchyGroupsResult withNextToken(String nextToken)
A string returned in the response. Use the value returned in the response as the value of the NextToken in a subsequent request to retrieve the next set of results.
nextToken
- A string returned in the response. Use the value returned in the response as the value of the NextToken in
a subsequent request to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListUserHierarchyGroupsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.