Interface ListJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BatchResponse.Builder
,Buildable
,CopyableBuilder<ListJobsResponse.Builder,
,ListJobsResponse> SdkBuilder<ListJobsResponse.Builder,
,ListJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListJobsResponse
public static interface ListJobsResponse.Builder
extends BatchResponse.Builder, SdkPojo, CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobSummaryList
(Collection<JobSummary> jobSummaryList) A list of job summaries that match the request.jobSummaryList
(Consumer<JobSummary.Builder>... jobSummaryList) A list of job summaries that match the request.jobSummaryList
(JobSummary... jobSummaryList) A list of job summaries that match the request.ThenextToken
value to include in a futureListJobs
request.Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchResponse.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
-
jobSummaryList
A list of job summaries that match the request.
- Parameters:
jobSummaryList
- A list of job summaries that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobSummaryList
A list of job summaries that match the request.
- Parameters:
jobSummaryList
- A list of job summaries that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobSummaryList
A list of job summaries that match the request.
This is a convenience method that creates an instance of theJobSummary.Builder
avoiding the need to create one manually viaJobSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobSummaryList(List<JobSummary>)
.- Parameters:
jobSummaryList
- 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
The
nextToken
value to include in a futureListJobs
request. When the results of aListJobs
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListJobs
request. When the results of aListJobs
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-