Interface ListCommandsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListCommandsResponse.Builder,ListCommandsResponse>, SdkBuilder<ListCommandsResponse.Builder,ListCommandsResponse>, SdkPojo, SdkResponse.Builder, SsmResponse.Builder
Enclosing class:
ListCommandsResponse

public static interface ListCommandsResponse.Builder extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListCommandsResponse.Builder,ListCommandsResponse>
  • Method Details

    • commands

      (Optional) The list of commands requested by the user.

      Parameters:
      commands - (Optional) The list of commands requested by the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commands

      ListCommandsResponse.Builder commands(Command... commands)

      (Optional) The list of commands requested by the user.

      Parameters:
      commands - (Optional) The list of commands requested by the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commands

      (Optional) The list of commands requested by the user.

      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 commands(List<Command>).

      Parameters:
      commands - 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:
    • nextToken

      ListCommandsResponse.Builder nextToken(String nextToken)

      (Optional) The token for the next set of items to return. (You received this token from a previous call.)

      Parameters:
      nextToken - (Optional) The token for the next set of items to return. (You received this token from a previous call.)
      Returns:
      Returns a reference to this object so that method calls can be chained together.