@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeInstanceStatus.
Constructor and Description |
---|
DescribeInstanceStatusResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInstanceStatusResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceStatus> |
getInstanceStatuses()
One or more instance status descriptions.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
One or more instance status descriptions.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeInstanceStatusResult |
withInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
One or more instance status descriptions.
|
DescribeInstanceStatusResult |
withInstanceStatuses(InstanceStatus... instanceStatuses)
One or more instance status descriptions.
|
DescribeInstanceStatusResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceStatus> getInstanceStatuses()
One or more instance status descriptions.
public void setInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
One or more instance status descriptions.
instanceStatuses
- One or more instance status descriptions.public DescribeInstanceStatusResult withInstanceStatuses(InstanceStatus... instanceStatuses)
One or more instance status descriptions.
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
- One or more instance status descriptions.public DescribeInstanceStatusResult withInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
One or more instance status descriptions.
instanceStatuses
- One or more instance status descriptions.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeInstanceStatusResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeInstanceStatusResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.