public static interface SendCommandResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<SendCommandResponse.Builder,SendCommandResponse>
| Modifier and Type | Method and Description |
|---|---|
SendCommandResponse.Builder |
command(Command command)
The request as it was received by Systems Manager.
|
default SendCommandResponse.Builder |
command(Consumer<Command.Builder> command)
The request as it was received by Systems Manager.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSendCommandResponse.Builder command(Command command)
The request as it was received by Systems Manager. Also provides the command ID which can be used future references to this request.
command - The request as it was received by Systems Manager. Also provides the command ID which can be used
future references to this request.default SendCommandResponse.Builder command(Consumer<Command.Builder> command)
The request as it was received by Systems Manager. Also provides the command ID which can be used future references to this request.
This is a convenience method that creates an instance of theCommand.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 command(Command).command - a consumer that will call methods on Command.Buildercommand(Command)Copyright © 2022. All rights reserved.