Interface SendCommandResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SendCommandResponse.Builder,
,SendCommandResponse> SdkBuilder<SendCommandResponse.Builder,
,SendCommandResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
SendCommandResponse
public static interface SendCommandResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<SendCommandResponse.Builder,SendCommandResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SendCommandResponse.Builder
command
(Consumer<Command.Builder> command) The request as it was received by Systems Manager.The request as it was received by Systems Manager.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
command
The request as it was received by Systems Manager. Also provides the command ID which can be used future references to this request.
- Parameters:
command
- The request as it was received by Systems Manager. Also provides the command ID which can be used future references to this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaCommand.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommand(Command)
.- Parameters:
command
- a consumer that will call methods onCommand.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-