@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInstanceStatusResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInstanceStatusResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceStatus> |
getInstanceStatuses()
Information about the status of the instances.
|
String |
getNextToken()
The token to include in another request to get the next page of items.
|
int |
hashCode() |
void |
setInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
Information about the status of the instances.
|
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstanceStatusResult |
withInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
Information about the status of the instances.
|
DescribeInstanceStatusResult |
withInstanceStatuses(InstanceStatus... instanceStatuses)
Information about the status of the instances.
|
DescribeInstanceStatusResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceStatus> getInstanceStatuses()
Information about the status of the instances.
public void setInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
Information about the status of the instances.
instanceStatuses
- Information about the status of the instances.public DescribeInstanceStatusResult withInstanceStatuses(InstanceStatus... instanceStatuses)
Information about the status of the instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceStatuses(java.util.Collection)
or withInstanceStatuses(java.util.Collection)
if you
want to override the existing values.
instanceStatuses
- Information about the status of the instances.public DescribeInstanceStatusResult withInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
Information about the status of the instances.
instanceStatuses
- Information about the status of the instances.public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeInstanceStatusResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeInstanceStatusResult clone()