public class DescribeAutoScalingInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable
Describes one or more Auto Scaling instances. If a list is not provided, the call describes all instances.
Constructor and Description |
---|
DescribeAutoScalingInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getInstanceIds()
The instances to describe; up to 50 instance IDs.
|
java.lang.Integer |
getMaxRecords()
The maximum number of items to return with this call.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The instances to describe; up to 50 instance IDs.
|
void |
setMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAutoScalingInstancesRequest |
withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The instances to describe; up to 50 instance IDs.
|
DescribeAutoScalingInstancesRequest |
withInstanceIds(java.lang.String... instanceIds)
The instances to describe; up to 50 instance IDs.
|
DescribeAutoScalingInstancesRequest |
withMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
|
DescribeAutoScalingInstancesRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getInstanceIds()
The instances to describe; up to 50 instance IDs. 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.
The instances to describe; up to 50 instance IDs. 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 void setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The instances to describe; up to 50 instance IDs. 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.
instanceIds
- The instances to describe; up to 50 instance IDs. 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(java.lang.String... instanceIds)
The instances to describe; up to 50 instance IDs. 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.
Returns a reference to this object so that method calls can be chained together.
instanceIds
- The instances to describe; up to 50 instance IDs. 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(java.util.Collection<java.lang.String> instanceIds)
The instances to describe; up to 50 instance IDs. 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.
Returns a reference to this object so that method calls can be chained together.
instanceIds
- The instances to describe; up to 50 instance IDs. 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 java.lang.Integer getMaxRecords()
The maximum number of items to return with this call.
The maximum number of items to return with this call.
public void setMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
maxRecords
- The maximum number of items to return with this call.
public DescribeAutoScalingInstancesRequest withMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
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 java.lang.String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
The token for the next set of items to return. (You received this token from a previous call.)
public void setNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Pattern: [ --�𐀀-\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(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.