Interface ListJobRunsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListJobRunsResponse.Builder,
,ListJobRunsResponse> DataZoneResponse.Builder
,SdkBuilder<ListJobRunsResponse.Builder,
,ListJobRunsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListJobRunsResponse
@Mutable
@NotThreadSafe
public static interface ListJobRunsResponse.Builder
extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<ListJobRunsResponse.Builder,ListJobRunsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<JobRunSummary> items) The results of the ListJobRuns action.items
(Consumer<JobRunSummary.Builder>... items) The results of the ListJobRuns action.items
(JobRunSummary... items) The results of the ListJobRuns action.When the number of job runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of job runs, the response includes a pagination token named NextToken.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
items
The results of the ListJobRuns action.
- Parameters:
items
- The results of the ListJobRuns action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The results of the ListJobRuns action.
- Parameters:
items
- The results of the ListJobRuns action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The results of the ListJobRuns action.
This is a convenience method that creates an instance of theJobRunSummary.Builder
avoiding the need to create one manually viaJobRunSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<JobRunSummary>)
.- Parameters:
items
- a consumer that will call methods onJobRunSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
When the number of job runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of job runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListJobRuns to list the next set of job runs.
- Parameters:
nextToken
- When the number of job runs is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of job runs, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListJobRuns to list the next set of job runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-