@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAutoScalingInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeAutoScalingInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAutoScalingInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getInstanceIds()
The IDs of the 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)
The IDs of the 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.
|
DescribeAutoScalingInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
The IDs of the instances.
|
DescribeAutoScalingInstancesRequest |
withInstanceIds(String... instanceIds)
The IDs of the 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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getInstanceIds()
The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.
Array Members: Maximum number of 50 items.
Array Members: Maximum number of 50 items.
public void setInstanceIds(Collection<String> instanceIds)
The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.
Array Members: Maximum number of 50 items.
instanceIds
- The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you
specify an ID that does not exist, it is ignored with no error.
Array Members: Maximum number of 50 items.
public DescribeAutoScalingInstancesRequest withInstanceIds(String... instanceIds)
The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.
Array Members: Maximum number of 50 items.
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 IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you
specify an ID that does not exist, it is ignored with no error.
Array Members: Maximum number of 50 items.
public DescribeAutoScalingInstancesRequest withInstanceIds(Collection<String> instanceIds)
The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.
Array Members: Maximum number of 50 items.
instanceIds
- The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you
specify an ID that does not exist, it is ignored with no error.
Array Members: Maximum number of 50 items.
public void setMaxRecords(Integer maxRecords)
The maximum number of items to return with this call. The default value is 50
and the maximum value
is 50
.
maxRecords
- The maximum number of items to return with this call. The default value is 50
and the maximum
value is 50
.public Integer getMaxRecords()
The maximum number of items to return with this call. The default value is 50
and the maximum value
is 50
.
50
and the
maximum value is 50
.public DescribeAutoScalingInstancesRequest withMaxRecords(Integer maxRecords)
The maximum number of items to return with this call. The default value is 50
and the maximum value
is 50
.
maxRecords
- The maximum number of items to return with this call. The default value is 50
and the maximum
value is 50
.public void setNextToken(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 String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public DescribeAutoScalingInstancesRequest withNextToken(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 String toString()
toString
in class Object
Object.toString()
public DescribeAutoScalingInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()