public class DescribeAutoScalingInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeAutoScalingInstances operation.
Describes one or more Auto Scaling instances. If a list is not provided, the call describes all instances.
NOOP| Constructor and Description |
|---|
DescribeAutoScalingInstancesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeAutoScalingInstancesRequest |
clone() |
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, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, 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)
NOTE: This method appends the values to the existing list (if
any). Use setInstanceIds(java.util.Collection) or withInstanceIds(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.
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()public DescribeAutoScalingInstancesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.