@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAutoScalingInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAutoScalingInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAutoScalingInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<AutoScalingInstanceDetails> |
getAutoScalingInstances()
The instances.
|
String |
getNextToken()
A string that indicates that the response contains more items than can be returned in a single response.
|
int |
hashCode() |
void |
setAutoScalingInstances(Collection<AutoScalingInstanceDetails> autoScalingInstances)
The instances.
|
void |
setNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAutoScalingInstancesResult |
withAutoScalingInstances(AutoScalingInstanceDetails... autoScalingInstances)
The instances.
|
DescribeAutoScalingInstancesResult |
withAutoScalingInstances(Collection<AutoScalingInstanceDetails> autoScalingInstances)
The instances.
|
DescribeAutoScalingInstancesResult |
withNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AutoScalingInstanceDetails> getAutoScalingInstances()
The instances.
public void setAutoScalingInstances(Collection<AutoScalingInstanceDetails> autoScalingInstances)
The instances.
autoScalingInstances
- The instances.public DescribeAutoScalingInstancesResult withAutoScalingInstances(AutoScalingInstanceDetails... autoScalingInstances)
The instances.
NOTE: This method appends the values to the existing list (if any). Use
setAutoScalingInstances(java.util.Collection)
or withAutoScalingInstances(java.util.Collection)
if you want to override the existing values.
autoScalingInstances
- The instances.public DescribeAutoScalingInstancesResult withAutoScalingInstances(Collection<AutoScalingInstanceDetails> autoScalingInstances)
The instances.
autoScalingInstances
- The instances.public void setNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
nextToken
- A string that indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String getNextToken()
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public DescribeAutoScalingInstancesResult withNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
nextToken
- A string that indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeAutoScalingInstancesResult clone()