public class DescribeAutoScalingInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<AutoScalingInstanceDetails> |
autoScalingInstances
The instances.
|
private java.lang.String |
nextToken
The token to use when requesting the next set of items.
|
Constructor and Description |
---|
DescribeAutoScalingInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAutoScalingInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<AutoScalingInstanceDetails> |
getAutoScalingInstances()
The instances.
|
java.lang.String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setAutoScalingInstances(java.util.Collection<AutoScalingInstanceDetails> autoScalingInstances)
The instances.
|
void |
setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAutoScalingInstancesResult |
withAutoScalingInstances(AutoScalingInstanceDetails... autoScalingInstances)
The instances.
|
DescribeAutoScalingInstancesResult |
withAutoScalingInstances(java.util.Collection<AutoScalingInstanceDetails> autoScalingInstances)
The instances.
|
DescribeAutoScalingInstancesResult |
withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
private SdkInternalList<AutoScalingInstanceDetails> autoScalingInstances
The instances.
private java.lang.String nextToken
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public java.util.List<AutoScalingInstanceDetails> getAutoScalingInstances()
The instances.
public void setAutoScalingInstances(java.util.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(java.util.Collection<AutoScalingInstanceDetails> autoScalingInstances)
The instances.
autoScalingInstances
- The instances.public void setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.public java.lang.String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public DescribeAutoScalingInstancesResult withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.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 DescribeAutoScalingInstancesResult clone()
clone
in class java.lang.Object