public class DescribeAutoScalingGroupsRequest extends AmazonWebServiceRequest implements Serializable
DescribeAutoScalingGroups operation.
Describes one or more Auto Scaling groups. If a list of names is not provided, the call describes all Auto Scaling groups.
You can specify a maximum number of items to be returned with a single
call. If there are more items to return, the call returns a token. To
get the next set of items, repeat the call with the returned token in
the NextToken parameter.
NOOP| Constructor and Description |
|---|
DescribeAutoScalingGroupsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getAutoScalingGroupNames()
The group names.
|
Integer |
getMaxRecords()
The maximum number of items to return with this call.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
The group names.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAutoScalingGroupsRequest |
withAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
The group names.
|
DescribeAutoScalingGroupsRequest |
withAutoScalingGroupNames(String... autoScalingGroupNames)
The group names.
|
DescribeAutoScalingGroupsRequest |
withMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
|
DescribeAutoScalingGroupsRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<String> getAutoScalingGroupNames()
public void setAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
autoScalingGroupNames - The group names.public DescribeAutoScalingGroupsRequest withAutoScalingGroupNames(String... autoScalingGroupNames)
Returns a reference to this object so that method calls can be chained together.
autoScalingGroupNames - The group names.public DescribeAutoScalingGroupsRequest withAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
Returns a reference to this object so that method calls can be chained together.
autoScalingGroupNames - The group names.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 for the next set of items to return. (You received this
token from a previous call.)public DescribeAutoScalingGroupsRequest 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 for the next set of items to return. (You received this
token from a previous call.)public Integer getMaxRecords()
public void setMaxRecords(Integer maxRecords)
maxRecords - The maximum number of items to return with this call.public DescribeAutoScalingGroupsRequest withMaxRecords(Integer maxRecords)
Returns a reference to this object so that method calls can be chained together.
maxRecords - The maximum number of items to return with this call.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.