Interface ListSimulationJobBatchesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSimulationJobBatchesResponse.Builder,,ListSimulationJobBatchesResponse> RoboMakerResponse.Builder,SdkBuilder<ListSimulationJobBatchesResponse.Builder,,ListSimulationJobBatchesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSimulationJobBatchesResponse
@Mutable
@NotThreadSafe
public static interface ListSimulationJobBatchesResponse.Builder
extends RoboMakerResponse.Builder, SdkPojo, CopyableBuilder<ListSimulationJobBatchesResponse.Builder,ListSimulationJobBatchesResponse>
-
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.simulationJobBatchSummaries(Collection<SimulationJobBatchSummary> simulationJobBatchSummaries) A list of simulation job batch summaries.simulationJobBatchSummaries(Consumer<SimulationJobBatchSummary.Builder>... simulationJobBatchSummaries) A list of simulation job batch summaries.simulationJobBatchSummaries(SimulationJobBatchSummary... simulationJobBatchSummaries) A list of simulation job batch summaries.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
-
simulationJobBatchSummaries
ListSimulationJobBatchesResponse.Builder simulationJobBatchSummaries(Collection<SimulationJobBatchSummary> simulationJobBatchSummaries) A list of simulation job batch summaries.
- Parameters:
simulationJobBatchSummaries- A list of simulation job batch summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulationJobBatchSummaries
ListSimulationJobBatchesResponse.Builder simulationJobBatchSummaries(SimulationJobBatchSummary... simulationJobBatchSummaries) A list of simulation job batch summaries.
- Parameters:
simulationJobBatchSummaries- A list of simulation job batch summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulationJobBatchSummaries
ListSimulationJobBatchesResponse.Builder simulationJobBatchSummaries(Consumer<SimulationJobBatchSummary.Builder>... simulationJobBatchSummaries) A list of simulation job batch summaries.
This is a convenience method that creates an instance of theSimulationJobBatchSummary.Builderavoiding the need to create one manually viaSimulationJobBatchSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosimulationJobBatchSummaries(List<SimulationJobBatchSummary>).- Parameters:
simulationJobBatchSummaries- a consumer that will call methods onSimulationJobBatchSummary.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, callListSimulationJobBatchesagain 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, callListSimulationJobBatchesagain 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.
-