public class DescribeCommandsResult extends Object implements Serializable
Contains the response to a DescribeCommands request.
| Constructor and Description |
|---|
DescribeCommandsResult() |
| Modifier and Type | Method and Description |
|---|---|
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. |
public List<Command> getCommands()
Command objects that describe each of the
specified commands.Command objects that describe each of the
specified commands.public void setCommands(Collection<Command> commands)
Command objects that describe each of the
specified commands.commands - An array of Command objects that describe each of the
specified commands.public DescribeCommandsResult withCommands(Command... commands)
Command objects that describe each of the
specified commands.
Returns a reference to this object so that method calls can be chained together.
commands - An array of Command objects that describe each of the
specified commands.public DescribeCommandsResult withCommands(Collection<Command> commands)
Command objects that describe each of the
specified commands.
Returns a reference to this object so that method calls can be chained together.
commands - An array of Command objects that describe each of the
specified commands.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.