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 Summary
Modifier and TypeMethodDescriptionIf the previous paginated request did not return all of the remaining results, the response object'snextToken
parameter value is set to a token.robots
(Collection<Robot> robots) A list of robots that meet the criteria of the request.robots
(Consumer<Robot.Builder>... robots) A list of robots that meet the criteria of the request.A list of robots that meet the criteria of the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.robomaker.model.RoboMakerResponse.Builder
build, responseMetadata, responseMetadata
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
-
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
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 theRobot.Builder
avoiding the need to create one manually viaRobot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torobots(List<Robot>)
.- Parameters:
robots
- a consumer that will call methods onRobot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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, callListRobots
again and assign that token to the request object'snextToken
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'snextToken
parameter value is set to a token. To retrieve the next set of results, callListRobots
again and assign that token to the request object'snextToken
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.
-