Interface SendCommandResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SendCommandResponse.Builder,,SendCommandResponse> SdkBuilder<SendCommandResponse.Builder,,SendCommandResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
SendCommandResponse
@Mutable
@NotThreadSafe
public static interface SendCommandResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<SendCommandResponse.Builder,SendCommandResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SendCommandResponse.Buildercommand(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaCommand.builder().When the
Consumercompletes,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:
-