public class DescribeAutoScalingGroupsRequest extends AmazonWebServiceRequest implements Serializable
DescribeAutoScalingGroups operation
.
Returns a full description of each Auto Scaling group in the given list. This includes all Amazon EC2 instances that are members of the group. If a list of names is not provided, the service returns the full details of all Auto Scaling groups.
This action supports pagination by returning a token if there are more pages to retrieve. To get the next page, call this action again with the
returned token as the NextToken
parameter.
Constructor and Description |
---|
DescribeAutoScalingGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getAutoScalingGroupNames()
A list of Auto Scaling group names.
|
Integer |
getMaxRecords()
The maximum number of records to return.
|
String |
getNextToken()
A string that marks the start of the next batch of returned results.
|
int |
hashCode() |
void |
setAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
A list of Auto Scaling group names.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of records to return.
|
void |
setNextToken(String nextToken)
A string that marks the start of the next batch of returned results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAutoScalingGroupsRequest |
withAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
A list of Auto Scaling group names.
|
DescribeAutoScalingGroupsRequest |
withAutoScalingGroupNames(String... autoScalingGroupNames)
A list of Auto Scaling group names.
|
DescribeAutoScalingGroupsRequest |
withMaxRecords(Integer maxRecords)
The maximum number of records to return.
|
DescribeAutoScalingGroupsRequest |
withNextToken(String nextToken)
A string that marks the start of the next batch of returned results.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public List<String> getAutoScalingGroupNames()
public void setAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
autoScalingGroupNames
- A list of Auto Scaling group names.public DescribeAutoScalingGroupsRequest withAutoScalingGroupNames(String... autoScalingGroupNames)
Returns a reference to this object so that method calls can be chained together.
autoScalingGroupNames
- A list of Auto Scaling group names.public DescribeAutoScalingGroupsRequest withAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
Returns a reference to this object so that method calls can be chained together.
autoScalingGroupNames
- A list of Auto Scaling group names.public String getNextToken()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setNextToken(String nextToken)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- A string that marks the start of the next batch of returned results.public DescribeAutoScalingGroupsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- A string that marks the start of the next batch of returned results.public Integer getMaxRecords()
Constraints:
Range: 1 - 50
public void setMaxRecords(Integer maxRecords)
Constraints:
Range: 1 - 50
maxRecords
- The maximum number of records to return.public DescribeAutoScalingGroupsRequest withMaxRecords(Integer maxRecords)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 50
maxRecords
- The maximum number of records to return.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.