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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobsResponse.Builder
jobs(Collection<JobSummary> jobs)
A list of jobs.ListJobsResponse.Builder
jobs(Consumer<JobSummary.Builder>... jobs)
A list of jobs.ListJobsResponse.Builder
jobs(JobSummary... jobs)
A list of jobs.ListJobsResponse.Builder
nextToken(String nextToken)
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 Detail
-
jobs
ListJobsResponse.Builder jobs(Collection<JobSummary> 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
ListJobsResponse.Builder jobs(JobSummary... 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
ListJobsResponse.Builder jobs(Consumer<JobSummary.Builder>... 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 to#jobs(List
.) - 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:
#jobs(java.util.Collection
)
-
nextToken
ListJobsResponse.Builder nextToken(String 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.
-
-