Interface SearchJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BraketResponse.Builder
,Buildable
,CopyableBuilder<SearchJobsResponse.Builder,
,SearchJobsResponse> SdkBuilder<SearchJobsResponse.Builder,
,SearchJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchJobsResponse
public static interface SearchJobsResponse.Builder
extends BraketResponse.Builder, SdkPojo, CopyableBuilder<SearchJobsResponse.Builder,SearchJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobs
(Collection<JobSummary> jobs) An array ofJobSummary
objects for devices that match the specified filter values.jobs
(Consumer<JobSummary.Builder>... jobs) An array ofJobSummary
objects for devices that match the specified filter values.jobs
(JobSummary... jobs) An array ofJobSummary
objects for devices that match the specified filter values.A token used for pagination of results, ornull
if there are no additional results.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobs
An array of
JobSummary
objects for devices that match the specified filter values.- Parameters:
jobs
- An array ofJobSummary
objects for devices that match the specified filter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
An array of
JobSummary
objects for devices that match the specified filter values.- Parameters:
jobs
- An array ofJobSummary
objects for devices that match the specified filter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
An array of
This is a convenience method that creates an instance of theJobSummary
objects for devices that match the specified filter values.JobSummary.Builder
avoiding the need to create one manually viaJobSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobs(List<JobSummary>)
.- Parameters:
jobs
- a consumer that will call methods onJobSummary.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 results where the previous request ended.- Parameters:
nextToken
- A token used for pagination of results, ornull
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.
-