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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRobotsResponse.BuildernextToken(String nextToken)If the previous paginated request did not return all of the remaining results, the response object'snextTokenparameter value is set to a token.ListRobotsResponse.Builderrobots(Collection<Robot> robots)A list of robots that meet the criteria of the request.ListRobotsResponse.Builderrobots(Consumer<Robot.Builder>... robots)A list of robots that meet the criteria of the request.ListRobotsResponse.Builderrobots(Robot... robots)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 Detail
-
robots
ListRobotsResponse.Builder robots(Collection<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
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
ListRobotsResponse.Builder robots(Consumer<Robot.Builder>... 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 to#robots(List.) - 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:
#robots(java.util.Collection)
-
nextToken
ListRobotsResponse.Builder nextToken(String 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.
-
-