Interface ListRobotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRobotsResponse.Builder,,ListRobotsResponse> RoboMakerResponse.Builder,SdkBuilder<ListRobotsResponse.Builder,,ListRobotsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRobotsResponse
@Mutable
@NotThreadSafe
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'snextTokenparameter 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
copyMethods inherited from interface software.amazon.awssdk.services.robomaker.model.RoboMakerResponse.Builder
build, responseMetadata, responseMetadataMethods 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, 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.Builderavoiding the need to create one manually viaRobot.builder().When the
Consumercompletes,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
nextTokenparameter value is set to a token. To retrieve the next set of results, callListRobotsagain and assign that token to the request object'snextTokenparameter. 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'snextTokenparameter value is set to a token. To retrieve the next set of results, callListRobotsagain and assign that token to the request object'snextTokenparameter. 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.
-