Interface GetPendingJobExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPendingJobExecutionsResponse.Builder,,GetPendingJobExecutionsResponse> IotJobsDataPlaneResponse.Builder,SdkBuilder<GetPendingJobExecutionsResponse.Builder,,GetPendingJobExecutionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPendingJobExecutionsResponse
public static interface GetPendingJobExecutionsResponse.Builder
extends IotJobsDataPlaneResponse.Builder, SdkPojo, CopyableBuilder<GetPendingJobExecutionsResponse.Builder,GetPendingJobExecutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninProgressJobs(Collection<JobExecutionSummary> inProgressJobs) A list of JobExecutionSummary objects with status IN_PROGRESS.inProgressJobs(Consumer<JobExecutionSummary.Builder>... inProgressJobs) A list of JobExecutionSummary objects with status IN_PROGRESS.inProgressJobs(JobExecutionSummary... inProgressJobs) A list of JobExecutionSummary objects with status IN_PROGRESS.queuedJobs(Collection<JobExecutionSummary> queuedJobs) A list of JobExecutionSummary objects with status QUEUED.queuedJobs(Consumer<JobExecutionSummary.Builder>... queuedJobs) A list of JobExecutionSummary objects with status QUEUED.queuedJobs(JobExecutionSummary... queuedJobs) A list of JobExecutionSummary objects with status QUEUED.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotjobsdataplane.model.IotJobsDataPlaneResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
inProgressJobs
GetPendingJobExecutionsResponse.Builder inProgressJobs(Collection<JobExecutionSummary> inProgressJobs) A list of JobExecutionSummary objects with status IN_PROGRESS.
- Parameters:
inProgressJobs- A list of JobExecutionSummary objects with status IN_PROGRESS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inProgressJobs
A list of JobExecutionSummary objects with status IN_PROGRESS.
- Parameters:
inProgressJobs- A list of JobExecutionSummary objects with status IN_PROGRESS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inProgressJobs
GetPendingJobExecutionsResponse.Builder inProgressJobs(Consumer<JobExecutionSummary.Builder>... inProgressJobs) A list of JobExecutionSummary objects with status IN_PROGRESS.
This is a convenience method that creates an instance of theJobExecutionSummary.Builderavoiding the need to create one manually viaJobExecutionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinProgressJobs(List<JobExecutionSummary>).- Parameters:
inProgressJobs- a consumer that will call methods onJobExecutionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queuedJobs
A list of JobExecutionSummary objects with status QUEUED.
- Parameters:
queuedJobs- A list of JobExecutionSummary objects with status QUEUED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queuedJobs
A list of JobExecutionSummary objects with status QUEUED.
- Parameters:
queuedJobs- A list of JobExecutionSummary objects with status QUEUED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queuedJobs
GetPendingJobExecutionsResponse.Builder queuedJobs(Consumer<JobExecutionSummary.Builder>... queuedJobs) A list of JobExecutionSummary objects with status QUEUED.
This is a convenience method that creates an instance of theJobExecutionSummary.Builderavoiding the need to create one manually viaJobExecutionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueuedJobs(List<JobExecutionSummary>).- Parameters:
queuedJobs- a consumer that will call methods onJobExecutionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-