public class DescribeAutoScalingGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeAutoScalingGroups operation.
Describes one or more Auto Scaling groups. If a list of names is not provided, the call describes all Auto Scaling groups.
NOOP| Constructor and Description |
|---|
DescribeAutoScalingGroupsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeAutoScalingGroupsRequest |
clone() |
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, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<String> getAutoScalingGroupNames()
public void setAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
autoScalingGroupNames - The group names.public DescribeAutoScalingGroupsRequest withAutoScalingGroupNames(String... autoScalingGroupNames)
NOTE: This method appends the values to the existing list (if
any). Use setAutoScalingGroupNames(java.util.Collection) or
withAutoScalingGroupNames(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.
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()public DescribeAutoScalingGroupsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.