public class DescribeAutoScalingGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<AutoScalingGroup> |
autoScalingGroups
The groups.
|
private java.lang.String |
nextToken
The token to use when requesting the next set of items.
|
Constructor and Description |
---|
DescribeAutoScalingGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAutoScalingGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<AutoScalingGroup> |
getAutoScalingGroups()
The groups.
|
java.lang.String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setAutoScalingGroups(java.util.Collection<AutoScalingGroup> autoScalingGroups)
The groups.
|
void |
setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAutoScalingGroupsResult |
withAutoScalingGroups(AutoScalingGroup... autoScalingGroups)
The groups.
|
DescribeAutoScalingGroupsResult |
withAutoScalingGroups(java.util.Collection<AutoScalingGroup> autoScalingGroups)
The groups.
|
DescribeAutoScalingGroupsResult |
withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
private SdkInternalList<AutoScalingGroup> autoScalingGroups
The groups.
private java.lang.String 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 java.util.List<AutoScalingGroup> getAutoScalingGroups()
The groups.
public void setAutoScalingGroups(java.util.Collection<AutoScalingGroup> autoScalingGroups)
The groups.
autoScalingGroups
- The groups.public DescribeAutoScalingGroupsResult withAutoScalingGroups(AutoScalingGroup... autoScalingGroups)
The groups.
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.
autoScalingGroups
- The groups.public DescribeAutoScalingGroupsResult withAutoScalingGroups(java.util.Collection<AutoScalingGroup> autoScalingGroups)
The groups.
autoScalingGroups
- The groups.public void setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
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 java.lang.String getNextToken()
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(java.lang.String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeAutoScalingGroupsResult clone()
clone
in class java.lang.Object