Interface ListRobotsResponse.Builder

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

public static interface ListRobotsResponse.Builder extends RoboMakerResponse.Builder, SdkPojo, CopyableBuilder<ListRobotsResponse.Builder,ListRobotsResponse>
  • Method Details

    • robots

      A list of robots that meet the criteria of the request.

      Parameters:
      robots - A list of robots that meet the criteria of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • robots

      ListRobotsResponse.Builder robots(Robot... robots)

      A list of robots that meet the criteria of the request.

      Parameters:
      robots - A list of robots that meet the criteria of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • robots

      A list of robots that meet the criteria of the request.

      This is a convenience method that creates an instance of the Robot.Builder avoiding the need to create one manually via Robot.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to robots(List<Robot>).

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

      ListRobotsResponse.Builder nextToken(String nextToken)

      If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListRobots again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

      Parameters:
      nextToken - If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListRobots again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.