Interface SearchQuantumTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BraketResponse.Builder
,Buildable
,CopyableBuilder<SearchQuantumTasksResponse.Builder,
,SearchQuantumTasksResponse> SdkBuilder<SearchQuantumTasksResponse.Builder,
,SearchQuantumTasksResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchQuantumTasksResponse
@Mutable
@NotThreadSafe
public static interface SearchQuantumTasksResponse.Builder
extends BraketResponse.Builder, SdkPojo, CopyableBuilder<SearchQuantumTasksResponse.Builder,SearchQuantumTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token used for pagination of results, or null if there are no additional results.quantumTasks
(Collection<QuantumTaskSummary> quantumTasks) An array ofQuantumTaskSummary
objects for tasks that match the specified filters.quantumTasks
(Consumer<QuantumTaskSummary.Builder>... quantumTasks) An array ofQuantumTaskSummary
objects for tasks that match the specified filters.quantumTasks
(QuantumTaskSummary... quantumTasks) An array ofQuantumTaskSummary
objects for tasks that match the specified filters.Methods inherited from interface software.amazon.awssdk.services.braket.model.BraketResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
- Parameters:
nextToken
- A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantumTasks
An array of
QuantumTaskSummary
objects for tasks that match the specified filters.- Parameters:
quantumTasks
- An array ofQuantumTaskSummary
objects for tasks that match the specified filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantumTasks
An array of
QuantumTaskSummary
objects for tasks that match the specified filters.- Parameters:
quantumTasks
- An array ofQuantumTaskSummary
objects for tasks that match the specified filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantumTasks
SearchQuantumTasksResponse.Builder quantumTasks(Consumer<QuantumTaskSummary.Builder>... quantumTasks) An array of
This is a convenience method that creates an instance of theQuantumTaskSummary
objects for tasks that match the specified filters.QuantumTaskSummary.Builder
avoiding the need to create one manually viaQuantumTaskSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toquantumTasks(List<QuantumTaskSummary>)
.- Parameters:
quantumTasks
- a consumer that will call methods onQuantumTaskSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-