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 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 the 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 command(Command).

      Parameters:
      command - a consumer that will call methods on Command.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: