public static interface SendCommandResponse.Builder extends SsmResponse.Builder, 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
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
SendCommandResponse.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 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.Builder
command(Command)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.