Interface ListJobRunsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListJobRunsResponse.Builder,
,ListJobRunsResponse> EmrContainersResponse.Builder
,SdkBuilder<ListJobRunsResponse.Builder,
,ListJobRunsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListJobRunsResponse
public static interface ListJobRunsResponse.Builder
extends EmrContainersResponse.Builder, SdkPojo, CopyableBuilder<ListJobRunsResponse.Builder,ListJobRunsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobRuns
(Collection<JobRun> jobRuns) This output lists information about the specified job runs.jobRuns
(Consumer<JobRun.Builder>... jobRuns) This output lists information about the specified job runs.This output lists information about the specified job runs.This output displays the token for the next set of job runs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.emrcontainers.model.EmrContainersResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobRuns
This output lists information about the specified job runs.
- Parameters:
jobRuns
- This output lists information about the specified job runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRuns
This output lists information about the specified job runs.
- Parameters:
jobRuns
- This output lists information about the specified job runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRuns
This output lists information about the specified job runs.
This is a convenience method that creates an instance of theJobRun.Builder
avoiding the need to create one manually viaJobRun.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobRuns(List<JobRun>)
.- Parameters:
jobRuns
- a consumer that will call methods onJobRun.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
This output displays the token for the next set of job runs.
- Parameters:
nextToken
- This output displays the token for the next set of job runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-