Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class DescribeInstancesResult

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.DescribeInstancesResult
All Implemented Interfaces:
Serializable

public class DescribeInstancesResult
extends Object
implements Serializable

Contains the response to a DescribeInstances request.

See Also:
Serialized Form

Constructor Summary
DescribeInstancesResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Instance> getInstances()
          An array of Instance objects that describe the instances.
 int hashCode()
           
 void setInstances(Collection<Instance> instances)
          An array of Instance objects that describe the instances.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeInstancesResult withInstances(Collection<Instance> instances)
          An array of Instance objects that describe the instances.
 DescribeInstancesResult withInstances(Instance... instances)
          An array of Instance objects that describe the instances.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeInstancesResult

public DescribeInstancesResult()
Method Detail

getInstances

public List<Instance> getInstances()
An array of Instance objects that describe the instances.

Returns:
An array of Instance objects that describe the instances.

setInstances

public void setInstances(Collection<Instance> instances)
An array of Instance objects that describe the instances.

Parameters:
instances - An array of Instance objects that describe the instances.

withInstances

public DescribeInstancesResult withInstances(Instance... instances)
An array of Instance objects that describe the instances.

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

Parameters:
instances - An array of Instance objects that describe the instances.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstances

public DescribeInstancesResult withInstances(Collection<Instance> instances)
An array of Instance objects that describe the instances.

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

Parameters:
instances - An array of Instance objects that describe the instances.
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.