CopyableBuilder<ListCommandsResponse.Builder,ListCommandsResponse>
, SdkBuilder<ListCommandsResponse.Builder,ListCommandsResponse>
public static interface ListCommandsResponse.Builder extends CopyableBuilder<ListCommandsResponse.Builder,ListCommandsResponse>
Modifier and Type | Method | Description |
---|---|---|
ListCommandsResponse.Builder |
commands(Collection<Command> commands) |
(Optional) The list of commands requested by the user.
|
ListCommandsResponse.Builder |
commands(Command... commands) |
(Optional) The list of commands requested by the user.
|
ListCommandsResponse.Builder |
nextToken(String nextToken) |
(Optional) The token for the next set of items to return.
|
copy
apply, build
ListCommandsResponse.Builder commands(Collection<Command> commands)
(Optional) The list of commands requested by the user.
commands
- (Optional) The list of commands requested by the user.ListCommandsResponse.Builder commands(Command... commands)
(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)
or #withCommands(java.util.Collection)
if you want to
override the existing values.
commands
- (Optional) The list of commands requested by the user.ListCommandsResponse.Builder nextToken(String nextToken)
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous
call.)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.