public class DescribeAutoScalingInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
instanceIds
The instances to describe; up to 50 instance IDs.
|
private java.lang.Integer |
maxRecords
The maximum number of items to return with this call.
|
private java.lang.String |
nextToken
The token for the next set of items to return.
|
NOOP
Constructor and Description |
---|
DescribeAutoScalingInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAutoScalingInstancesRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
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
private SdkInternalList<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.
private java.lang.Integer maxRecords
The maximum number of items to return with this call.
private java.lang.String nextToken
The token for the next set of items to return. (You received this token from a previous call.)
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.
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.
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.
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.
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 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 java.lang.Integer getMaxRecords()
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.
maxRecords
- The maximum number of items to return with this 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.)
nextToken
- The token for the next set of items to return. (You received this
token from a previous call.)public java.lang.String getNextToken()
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.)
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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeAutoScalingInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()