Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class DescribeCommandsResult

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

public class DescribeCommandsResult
extends Object
implements Serializable

Contains the response to a DescribeCommands request.

See Also:
Serialized Form

Constructor Summary
DescribeCommandsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Command> getCommands()
          An array of Command objects that describe each of the specified commands.
 int hashCode()
           
 void setCommands(Collection<Command> commands)
          An array of Command objects that describe each of the specified commands.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeCommandsResult withCommands(Collection<Command> commands)
          An array of Command objects that describe each of the specified commands.
 DescribeCommandsResult withCommands(Command... commands)
          An array of Command objects that describe each of the specified commands.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeCommandsResult

public DescribeCommandsResult()
Method Detail

getCommands

public List<Command> getCommands()
An array of Command objects that describe each of the specified commands.

Returns:
An array of Command objects that describe each of the specified commands.

setCommands

public void setCommands(Collection<Command> commands)
An array of Command objects that describe each of the specified commands.

Parameters:
commands - An array of Command objects that describe each of the specified commands.

withCommands

public DescribeCommandsResult withCommands(Command... commands)
An array of Command objects that describe each of the specified commands.

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

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

withCommands

public DescribeCommandsResult withCommands(Collection<Command> commands)
An array of Command objects that describe each of the specified commands.

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

Parameters:
commands - An array of Command objects that describe each of the specified commands.
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.