@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAttributeGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAttributeGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListAttributeGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<AttributeGroupSummary> |
getAttributeGroups()
This list of attribute groups.
|
String |
getNextToken()
The token to use to get the next page of results after a previous API call.
|
int |
hashCode() |
void |
setAttributeGroups(Collection<AttributeGroupSummary> attributeGroups)
This list of attribute groups.
|
void |
setNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
|
String |
toString()
Returns a string representation of this object.
|
ListAttributeGroupsResult |
withAttributeGroups(AttributeGroupSummary... attributeGroups)
This list of attribute groups.
|
ListAttributeGroupsResult |
withAttributeGroups(Collection<AttributeGroupSummary> attributeGroups)
This list of attribute groups.
|
ListAttributeGroupsResult |
withNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AttributeGroupSummary> getAttributeGroups()
This list of attribute groups.
public void setAttributeGroups(Collection<AttributeGroupSummary> attributeGroups)
This list of attribute groups.
attributeGroups
- This list of attribute groups.public ListAttributeGroupsResult withAttributeGroups(AttributeGroupSummary... attributeGroups)
This list of attribute groups.
NOTE: This method appends the values to the existing list (if any). Use
setAttributeGroups(java.util.Collection)
or withAttributeGroups(java.util.Collection)
if you
want to override the existing values.
attributeGroups
- This list of attribute groups.public ListAttributeGroupsResult withAttributeGroups(Collection<AttributeGroupSummary> attributeGroups)
This list of attribute groups.
attributeGroups
- This list of attribute groups.public void setNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
nextToken
- The token to use to get the next page of results after a previous API call.public String getNextToken()
The token to use to get the next page of results after a previous API call.
public ListAttributeGroupsResult withNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
nextToken
- The token to use to get the next page of results after a previous API call.public String toString()
toString
in class Object
Object.toString()
public ListAttributeGroupsResult clone()