public static interface DescribeCommandsResponse.Builder extends OpsWorksResponse.Builder, CopyableBuilder<DescribeCommandsResponse.Builder,DescribeCommandsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeCommandsResponse.Builder |
commands(Collection<Command> commands)
An array of
Command objects that describe each of the specified commands. |
DescribeCommandsResponse.Builder |
commands(Command... commands)
An array of
Command objects that describe each of the specified commands. |
DescribeCommandsResponse.Builder |
commands(Consumer<Command.Builder>... commands)
An array of
Command objects that describe each of the specified commands. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeCommandsResponse.Builder commands(Collection<Command> commands)
An array of Command
objects that describe each of the specified commands.
commands
- An array of Command
objects that describe each of the specified commands.DescribeCommandsResponse.Builder commands(Command... commands)
An array of Command
objects that describe each of the specified commands.
commands
- An array of Command
objects that describe each of the specified commands.DescribeCommandsResponse.Builder commands(Consumer<Command.Builder>... commands)
An array of Command
objects that describe each of the specified commands.
List.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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.