public class DescribeAutoScalingGroupsResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeAutoScalingGroupsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeAutoScalingGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<AutoScalingGroup> |
getAutoScalingGroups()
The groups.
|
String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
The groups.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAutoScalingGroupsResult |
withAutoScalingGroups(AutoScalingGroup... autoScalingGroups)
The groups.
|
DescribeAutoScalingGroupsResult |
withAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
The groups.
|
DescribeAutoScalingGroupsResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
public List<AutoScalingGroup> getAutoScalingGroups()
public void setAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
autoScalingGroups - The groups.public DescribeAutoScalingGroupsResult withAutoScalingGroups(AutoScalingGroup... autoScalingGroups)
NOTE: This method appends the values to the existing list (if
any). Use setAutoScalingGroups(java.util.Collection) or
withAutoScalingGroups(java.util.Collection) if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
autoScalingGroups - The groups.public DescribeAutoScalingGroupsResult withAutoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups)
Returns a reference to this object so that method calls can be chained together.
autoScalingGroups - The groups.public String getNextToken()
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setNextToken(String nextToken)
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
nextToken - The token to use when requesting the next set of items. If there are
no additional items to return, the string is empty.public DescribeAutoScalingGroupsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
nextToken - The token to use when requesting the next set of items. If there are
no additional items to return, the string is empty.public String toString()
toString in class ObjectObject.toString()public DescribeAutoScalingGroupsResult clone()
Copyright © 2015. All rights reserved.