public static interface ListCommandsResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListCommandsResponse.Builder,ListCommandsResponse>
Modifier and Type | Method and 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 |
commands(Consumer<Command.Builder>... 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.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, 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.
commands
- (Optional) The list of commands requested by the user.ListCommandsResponse.Builder commands(Consumer<Command.Builder>... commands)
(Optional) The list of commands requested by the user.
This is a convenience method that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #commands(List)
.commands
- a consumer that will call methods on List.Builder
#commands(List)
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 © 2022. All rights reserved.