com.amazonaws.services.ec2.model
Class DescribeInstanceStatusResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeInstanceStatusResult

public class DescribeInstanceStatusResult
extends Object

Describe Instance Status Result


Constructor Summary
DescribeInstanceStatusResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<InstanceStatus> getInstanceStatuses()
          Collection of instance statuses describing the state of the requested instances.
 String getNextToken()
          A string specifying the next paginated set of results to return.
 int hashCode()
           
 void setInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
          Collection of instance statuses describing the state of the requested instances.
 void setNextToken(String nextToken)
          A string specifying the next paginated set of results to return.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeInstanceStatusResult withInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
          Collection of instance statuses describing the state of the requested instances.
 DescribeInstanceStatusResult withInstanceStatuses(InstanceStatus... instanceStatuses)
          Collection of instance statuses describing the state of the requested instances.
 DescribeInstanceStatusResult withNextToken(String nextToken)
          A string specifying the next paginated set of results to return.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeInstanceStatusResult

public DescribeInstanceStatusResult()
Method Detail

getInstanceStatuses

public List<InstanceStatus> getInstanceStatuses()
Collection of instance statuses describing the state of the requested instances.

Returns:
Collection of instance statuses describing the state of the requested instances.

setInstanceStatuses

public void setInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
Collection of instance statuses describing the state of the requested instances.

Parameters:
instanceStatuses - Collection of instance statuses describing the state of the requested instances.

withInstanceStatuses

public DescribeInstanceStatusResult withInstanceStatuses(InstanceStatus... instanceStatuses)
Collection of instance statuses describing the state of the requested instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceStatuses - Collection of instance statuses describing the state of the requested instances.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstanceStatuses

public DescribeInstanceStatusResult withInstanceStatuses(Collection<InstanceStatus> instanceStatuses)
Collection of instance statuses describing the state of the requested instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceStatuses - Collection of instance statuses describing the state of the requested instances.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
A string specifying the next paginated set of results to return.

Returns:
A string specifying the next paginated set of results to return.

setNextToken

public void setNextToken(String nextToken)
A string specifying the next paginated set of results to return.

Parameters:
nextToken - A string specifying the next paginated set of results to return.

withNextToken

public DescribeInstanceStatusResult withNextToken(String nextToken)
A string specifying the next paginated set of results to return.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nextToken - A string specifying the next paginated set of results to return.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.