Interface ListJobRunsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobRunsResponse.Builder,ListJobRunsResponse>,DataZoneResponse.Builder,SdkBuilder<ListJobRunsResponse.Builder,ListJobRunsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListJobRunsResponse
public static interface ListJobRunsResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<ListJobRunsResponse.Builder,ListJobRunsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobRunsResponse.Builderitems(Collection<JobRunSummary> items)The results of the ListJobRuns action.ListJobRunsResponse.Builderitems(Consumer<JobRunSummary.Builder>... items)The results of the ListJobRuns action.ListJobRunsResponse.Builderitems(JobRunSummary... items)The results of the ListJobRuns action.ListJobRunsResponse.BuildernextToken(String 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.-
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 Detail
-
items
ListJobRunsResponse.Builder items(Collection<JobRunSummary> 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
ListJobRunsResponse.Builder items(JobRunSummary... 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
ListJobRunsResponse.Builder items(Consumer<JobRunSummary.Builder>... items)
The results of the ListJobRuns action.
This is a convenience method that creates an instance of theJobRunSummary.Builderavoiding the need to create one manually viaJobRunSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - 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:
#items(java.util.Collection)
-
nextToken
ListJobRunsResponse.Builder nextToken(String 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.
-
-