Class DescribeCommandsResult
java.lang.Object
com.amazonaws.services.opsworks.model.DescribeCommandsResult
- All Implemented Interfaces:
Serializable,Cloneable
Contains the response to a DescribeCommands request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanAn array ofCommandobjects that describe each of the specified commands.inthashCode()voidsetCommands(Collection<Command> commands) An array ofCommandobjects that describe each of the specified commands.toString()Returns a string representation of this object; useful for testing and debugging.withCommands(Command... commands) An array ofCommandobjects that describe each of the specified commands.withCommands(Collection<Command> commands) An array ofCommandobjects that describe each of the specified commands.
-
Constructor Details
-
DescribeCommandsResult
public DescribeCommandsResult()
-
-
Method Details
-
getCommands
An array of
Commandobjects that describe each of the specified commands.- Returns:
- An array of
Commandobjects that describe each of the specified commands.
-
setCommands
An array of
Commandobjects that describe each of the specified commands.- Parameters:
commands- An array ofCommandobjects that describe each of the specified commands.
-
withCommands
An array of
Commandobjects that describe each of the specified commands.NOTE: This method appends the values to the existing list (if any). Use
setCommands(java.util.Collection)orwithCommands(java.util.Collection)if you want to override the existing values.- Parameters:
commands- An array ofCommandobjects that describe each of the specified commands.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCommands
An array of
Commandobjects that describe each of the specified commands.- Parameters:
commands- An array ofCommandobjects that describe each of the specified commands.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-