public static interface DescribeCommandsResponse.Builder extends OpsWorksResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeCommandsResponse.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.
Command.Builder avoiding the need to create one
manually via Command.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #commands(List.
commands - a consumer that will call methods on
Command.Builder#commands(java.util.Collection) Copyright © 2023. All rights reserved.