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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchJobsResponse.Builderjobs(Collection<JobSummary> jobs)An array ofJobSummaryobjects for devices that match the specified filter values.SearchJobsResponse.Builderjobs(Consumer<JobSummary.Builder>... jobs)An array ofJobSummaryobjects for devices that match the specified filter values.SearchJobsResponse.Builderjobs(JobSummary... jobs)An array ofJobSummaryobjects for devices that match the specified filter values.SearchJobsResponse.BuildernextToken(String nextToken)A token used for pagination of results, ornullif 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 Detail
-
jobs
SearchJobsResponse.Builder jobs(Collection<JobSummary> jobs)
An array of
JobSummaryobjects for devices that match the specified filter values.- Parameters:
jobs- An array ofJobSummaryobjects for devices that match the specified filter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
SearchJobsResponse.Builder jobs(JobSummary... jobs)
An array of
JobSummaryobjects for devices that match the specified filter values.- Parameters:
jobs- An array ofJobSummaryobjects for devices that match the specified filter values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
SearchJobsResponse.Builder jobs(Consumer<JobSummary.Builder>... jobs)
An array of
This is a convenience method that creates an instance of theJobSummaryobjects for devices that match the specified filter values.JobSummary.Builderavoiding the need to create one manually viaJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#jobs(List.) - 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:
#jobs(java.util.Collection)
-
nextToken
SearchJobsResponse.Builder nextToken(String nextToken)
A token used for pagination of results, or
nullif 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, ornullif 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.
-
-