Interface ListJobsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>,DeviceFarmResponse.Builder,SdkBuilder<ListJobsResponse.Builder,ListJobsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListJobsResponse
public static interface ListJobsResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobsResponse.Builderjobs(Collection<Job> jobs)Information about the jobs.ListJobsResponse.Builderjobs(Consumer<Job.Builder>... jobs)Information about the jobs.ListJobsResponse.Builderjobs(Job... jobs)Information about the jobs.ListJobsResponse.BuildernextToken(String nextToken)If the number of items that are returned is significantly large, this is an identifier that is also returned.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.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<Job> jobs)
Information about the jobs.
- Parameters:
jobs- Information about the jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
ListJobsResponse.Builder jobs(Job... jobs)
Information about the jobs.
- Parameters:
jobs- Information about the jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
ListJobsResponse.Builder jobs(Consumer<Job.Builder>... jobs)
Information about the jobs.
This is a convenience method that creates an instance of theJob.Builderavoiding the need to create one manually viaJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#jobs(List.) - Parameters:
jobs- a consumer that will call methods onJob.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)
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
- Parameters:
nextToken- If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-