CopyableBuilder<DescribeCommandsResponse.Builder,DescribeCommandsResponse>
, SdkBuilder<DescribeCommandsResponse.Builder,DescribeCommandsResponse>
public static interface DescribeCommandsResponse.Builder extends CopyableBuilder<DescribeCommandsResponse.Builder,DescribeCommandsResponse>
Modifier and Type | Method | 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. |
copy
apply, 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.
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
- An array of Command
objects that describe each of the specified commands.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.