Class ListCommandsResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
(Optional) The list of commands requested by the user.(Optional) The token for the next set of items to return.int
hashCode()
void
setCommands
(Collection<Command> commands) (Optional) The list of commands requested by the user.void
setNextToken
(String nextToken) (Optional) The token for the next set of items to return.toString()
Returns a string representation of this object; useful for testing and debugging.withCommands
(Command... commands) (Optional) The list of commands requested by the user.withCommands
(Collection<Command> commands) (Optional) The list of commands requested by the user.withNextToken
(String nextToken) (Optional) The token for the next set of items to return.
-
Constructor Details
-
ListCommandsResult
public ListCommandsResult()
-
-
Method Details
-
getCommands
(Optional) The list of commands requested by the user.
- Returns:
- (Optional) The list of commands requested by the user.
-
setCommands
(Optional) The list of commands requested by the user.
- Parameters:
commands
- (Optional) The list of commands requested by the user.
-
withCommands
(Optional) The list of commands requested by the user.
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
- (Optional) The list of commands requested by the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCommands
(Optional) The list of commands requested by the user.
- Parameters:
commands
- (Optional) The list of commands requested by the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)
-
getNextToken
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
- Returns:
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)
-
withNextToken
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)- 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
-