|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.DescribeAutoScalingInstancesRequest
public class DescribeAutoScalingInstancesRequest
Container for the parameters to the DescribeAutoScalingInstances operation
.
Returns a description of each Auto Scaling instance in the InstanceIds
list. If a list is not provided, the service returns the full
details of all instances up to a maximum of 50. By default, the service returns a list of 20 items.
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.
AmazonAutoScaling.describeAutoScalingInstances(DescribeAutoScalingInstancesRequest)
Constructor Summary | |
---|---|
DescribeAutoScalingInstancesRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<String> |
getInstanceIds()
The list of Auto Scaling instances to describe. |
Integer |
getMaxRecords()
The maximum number of Auto Scaling instances to be described with each call. |
String |
getNextToken()
The token returned by a previous call to indicate that there is more data available. |
int |
hashCode()
|
void |
setInstanceIds(Collection<String> instanceIds)
The list of Auto Scaling instances to describe. |
void |
setMaxRecords(Integer maxRecords)
The maximum number of Auto Scaling instances to be described with each call. |
void |
setNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeAutoScalingInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
The list of Auto Scaling instances to describe. |
DescribeAutoScalingInstancesRequest |
withInstanceIds(String... instanceIds)
The list of Auto Scaling instances to describe. |
DescribeAutoScalingInstancesRequest |
withMaxRecords(Integer maxRecords)
The maximum number of Auto Scaling instances to be described with each call. |
DescribeAutoScalingInstancesRequest |
withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeAutoScalingInstancesRequest()
Method Detail |
---|
public List<String> getInstanceIds()
public void setInstanceIds(Collection<String> instanceIds)
instanceIds
- The list of Auto Scaling instances to describe. If this list is
omitted, all auto scaling instances are described. The list of
requested instances cannot contain more than 50 items. If unknown
instances are requested, they are ignored with no error.public DescribeAutoScalingInstancesRequest withInstanceIds(String... instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds
- The list of Auto Scaling instances to describe. If this list is
omitted, all auto scaling instances are described. The list of
requested instances cannot contain more than 50 items. If unknown
instances are requested, they are 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
- The list of Auto Scaling instances to describe. If this list is
omitted, all auto scaling instances are described. The list of
requested instances cannot contain more than 50 items. If unknown
instances are requested, they are ignored with no error.
public Integer getMaxRecords()
Constraints:
Range: 1 - 50
public void setMaxRecords(Integer maxRecords)
Constraints:
Range: 1 - 50
maxRecords
- The maximum number of Auto Scaling instances to be described with each
call.public DescribeAutoScalingInstancesRequest 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 Auto Scaling instances to be described with each
call.
public String getNextToken()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setNextToken(String nextToken)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- The token returned by a previous call to indicate that there is more
data available.public DescribeAutoScalingInstancesRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- The token returned by a previous call to indicate that there is more
data available.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |