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 ofQuantumTaskSummaryobjects for quantum tasks that match the specified filters.quantumTasks(Consumer<QuantumTaskSummary.Builder>... quantumTasks) An array ofQuantumTaskSummaryobjects for quantum tasks that match the specified filters.quantumTasks(QuantumTaskSummary... quantumTasks) An array ofQuantumTaskSummaryobjects for quantum tasks that match the specified filters.Methods inherited from interface software.amazon.awssdk.services.braket.model.BraketResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
quantumTasks
An array of
QuantumTaskSummaryobjects for quantum tasks that match the specified filters.- Parameters:
quantumTasks- An array ofQuantumTaskSummaryobjects for quantum 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
QuantumTaskSummaryobjects for quantum tasks that match the specified filters.- Parameters:
quantumTasks- An array ofQuantumTaskSummaryobjects for quantum 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 theQuantumTaskSummaryobjects for quantum tasks that match the specified filters.QuantumTaskSummary.Builderavoiding the need to create one manually viaQuantumTaskSummary.builder().When the
Consumercompletes,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:
-
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 search 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 search where the previous request ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-