Interface ListJobRunsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobRunsResponse.Builder,ListJobRunsResponse>,DataBrewResponse.Builder,SdkBuilder<ListJobRunsResponse.Builder,ListJobRunsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListJobRunsResponse
public static interface ListJobRunsResponse.Builder extends DataBrewResponse.Builder, SdkPojo, CopyableBuilder<ListJobRunsResponse.Builder,ListJobRunsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobRunsResponse.BuilderjobRuns(Collection<JobRun> jobRuns)A list of job runs that have occurred for the specified job.ListJobRunsResponse.BuilderjobRuns(Consumer<JobRun.Builder>... jobRuns)A list of job runs that have occurred for the specified job.ListJobRunsResponse.BuilderjobRuns(JobRun... jobRuns)A list of job runs that have occurred for the specified job.ListJobRunsResponse.BuildernextToken(String nextToken)A token that you can use in a subsequent call to retrieve the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.databrew.model.DataBrewResponse.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<JobRun> jobRuns)
A list of job runs that have occurred for the specified job.
- Parameters:
jobRuns- A list of job runs that have occurred for the specified job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRuns
ListJobRunsResponse.Builder jobRuns(JobRun... jobRuns)
A list of job runs that have occurred for the specified job.
- Parameters:
jobRuns- A list of job runs that have occurred for the specified job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRuns
ListJobRunsResponse.Builder jobRuns(Consumer<JobRun.Builder>... jobRuns)
A list of job runs that have occurred for the specified job.
This is a convenience method that creates an instance of theJobRun.Builderavoiding the need to create one manually viaJobRun.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#jobRuns(List.) - 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:
#jobRuns(java.util.Collection)
-
nextToken
ListJobRunsResponse.Builder nextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
- Parameters:
nextToken- A token that you can use in a subsequent call to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-