Interface ListJobRunsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListJobRunsResponse.Builder,ListJobRunsResponse>
,EmrServerlessResponse.Builder
,SdkBuilder<ListJobRunsResponse.Builder,ListJobRunsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListJobRunsResponse
public static interface ListJobRunsResponse.Builder extends EmrServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListJobRunsResponse.Builder,ListJobRunsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobRunsResponse.Builder
jobRuns(Collection<JobRunSummary> jobRuns)
The output lists information about the specified job runs.ListJobRunsResponse.Builder
jobRuns(Consumer<JobRunSummary.Builder>... jobRuns)
The output lists information about the specified job runs.ListJobRunsResponse.Builder
jobRuns(JobRunSummary... jobRuns)
The output lists information about the specified job runs.ListJobRunsResponse.Builder
nextToken(String nextToken)
The output displays the token for the next set of job run results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emrserverless.model.EmrServerlessResponse.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
-
jobRuns
ListJobRunsResponse.Builder jobRuns(Collection<JobRunSummary> jobRuns)
The output lists information about the specified job runs.
- Parameters:
jobRuns
- The output lists information about the specified job runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRuns
ListJobRunsResponse.Builder jobRuns(JobRunSummary... jobRuns)
The output lists information about the specified job runs.
- Parameters:
jobRuns
- The output lists information about the specified job runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRuns
ListJobRunsResponse.Builder jobRuns(Consumer<JobRunSummary.Builder>... jobRuns)
The output lists information about the specified job runs.
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 to#jobRuns(List
.) - Parameters:
jobRuns
- 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:
#jobRuns(java.util.Collection
)
-
nextToken
ListJobRunsResponse.Builder nextToken(String nextToken)
The output displays the token for the next set of job run results. This is required for pagination and is available as a response of the previous request.
- Parameters:
nextToken
- The output displays the token for the next set of job run results. This is required for pagination and is available as a response of the previous request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-