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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobsResponse.BuilderjobSummaryList(Collection<JobSummary> jobSummaryList)A list of job summaries that match the request.ListJobsResponse.BuilderjobSummaryList(Consumer<JobSummary.Builder>... jobSummaryList)A list of job summaries that match the request.ListJobsResponse.BuilderjobSummaryList(JobSummary... jobSummaryList)A list of job summaries that match the request.ListJobsResponse.BuildernextToken(String nextToken)ThenextTokenvalue to include in a futureListJobsrequest.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
jobSummaryList
ListJobsResponse.Builder jobSummaryList(Collection<JobSummary> 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
ListJobsResponse.Builder jobSummaryList(JobSummary... 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
ListJobsResponse.Builder jobSummaryList(Consumer<JobSummary.Builder>... jobSummaryList)
A list of job summaries that match the request.
This is a convenience method that creates an instance of theJobSummary.Builderavoiding the need to create one manually viaJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#jobSummaryList(List.) - 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:
#jobSummaryList(java.util.Collection)
-
nextToken
ListJobsResponse.Builder nextToken(String nextToken)
The
nextTokenvalue to include in a futureListJobsrequest. When the results of aListJobsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListJobsrequest. When the results of aListJobsrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-