Interface ListJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListJobsResponse.Builder,
,ListJobsResponse> IotResponse.Builder
,SdkBuilder<ListJobsResponse.Builder,
,ListJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListJobsResponse
public static interface ListJobsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobs
(Collection<JobSummary> jobs) A list of jobs.jobs
(Consumer<JobSummary.Builder>... jobs) A list of jobs.jobs
(JobSummary... jobs) A list of jobs.The token for the next set of results, or null if there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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
-
jobs
A list of jobs.
- Parameters:
jobs
- A list of jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
A list of jobs.
- Parameters:
jobs
- A list of jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
A list of jobs.
This is a convenience method that creates an instance of theJobSummary.Builder
avoiding the need to create one manually viaJobSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobs(List<JobSummary>)
.- Parameters:
jobs
- a consumer that will call methods onJobSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results, or null if there are no additional results.
- Parameters:
nextToken
- The token for the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-