Class DescribeAutoScalingInstancesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.autoscaling.model.DescribeAutoScalingInstancesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeAutoScalingInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeAutoScalingInstancesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeAutoScalingInstancesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getInstanceIds()The instances to describe; up to 50 instance IDs.IntegergetMaxRecords()The maximum number of items to return with this call.StringgetNextToken()The token for the next set of items to return.inthashCode()voidsetInstanceIds(Collection<String> instanceIds)The instances to describe; up to 50 instance IDs.voidsetMaxRecords(Integer maxRecords)The maximum number of items to return with this call.voidsetNextToken(String nextToken)The token for the next set of items to return.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeAutoScalingInstancesRequestwithInstanceIds(String... instanceIds)The instances to describe; up to 50 instance IDs.DescribeAutoScalingInstancesRequestwithInstanceIds(Collection<String> instanceIds)The instances to describe; up to 50 instance IDs.DescribeAutoScalingInstancesRequestwithMaxRecords(Integer maxRecords)The maximum number of items to return with this call.DescribeAutoScalingInstancesRequestwithNextToken(String nextToken)The token for the next set of items to return.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getInstanceIds
public List<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.
- Returns:
- 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.
-
setInstanceIds
public void setInstanceIds(Collection<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.
- Parameters:
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.
-
withInstanceIds
public DescribeAutoScalingInstancesRequest withInstanceIds(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.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)orwithInstanceIds(java.util.Collection)if you want to override the existing values.- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
withInstanceIds
public DescribeAutoScalingInstancesRequest withInstanceIds(Collection<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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxRecords
public void setMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
- Parameters:
maxRecords- The maximum number of items to return with this call.
-
getMaxRecords
public Integer getMaxRecords()
The maximum number of items to return with this call.
- Returns:
- The maximum number of items to return with this call.
-
withMaxRecords
public DescribeAutoScalingInstancesRequest withMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
- Parameters:
maxRecords- The maximum number of items to return with this call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken- The token for the next set of items to return. (You received this token from a previous call.)
-
getNextToken
public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
- Returns:
- The token for the next set of items to return. (You received this token from a previous call.)
-
withNextToken
public DescribeAutoScalingInstancesRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeAutoScalingInstancesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-