public class DescribeAutoScalingInstancesRequest extends AmazonWebServiceRequest implements Serializable
DescribeAutoScalingInstances operation.
Describes one or more Auto Scaling instances. If a list is not provided, the call describes all instances.
You can describe up to a maximum of 50 instances with a single call.
By default, a call returns up to 20 instances. 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 |
|---|
DescribeAutoScalingInstancesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getInstanceIds()
One or more Auto Scaling instances to describe, up to 50 instances.
|
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 |
setInstanceIds(Collection<String> instanceIds)
One or more Auto Scaling instances to describe, up to 50 instances.
|
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.
|
DescribeAutoScalingInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
One or more Auto Scaling instances to describe, up to 50 instances.
|
DescribeAutoScalingInstancesRequest |
withInstanceIds(String... instanceIds)
One or more Auto Scaling instances to describe, up to 50 instances.
|
DescribeAutoScalingInstancesRequest |
withMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
|
DescribeAutoScalingInstancesRequest |
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> getInstanceIds()
public void setInstanceIds(Collection<String> instanceIds)
instanceIds - One or more Auto Scaling instances to describe, up to 50 instances. If
you omit this parameter, all Auto Scaling instances are described. If
you specify an ID that does not exist, it is ignored with no error.public DescribeAutoScalingInstancesRequest withInstanceIds(String... instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds - One or more Auto Scaling instances to describe, up to 50 instances. If
you omit this parameter, all Auto Scaling instances are described. If
you specify an ID that does not exist, it is ignored with no error.public DescribeAutoScalingInstancesRequest withInstanceIds(Collection<String> instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds - One or more Auto Scaling instances to describe, up to 50 instances. If
you omit this parameter, all Auto Scaling instances are described. If
you specify an ID that does not exist, it is ignored with no error.public Integer getMaxRecords()
public void setMaxRecords(Integer maxRecords)
maxRecords - The maximum number of items to return with this call.public DescribeAutoScalingInstancesRequest 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 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 DescribeAutoScalingInstancesRequest 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 String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.