Interface ListBackendJobsResponse.Builder
- All Superinterfaces:
AmplifyBackendResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBackendJobsResponse.Builder,
,ListBackendJobsResponse> SdkBuilder<ListBackendJobsResponse.Builder,
,ListBackendJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBackendJobsResponse
public static interface ListBackendJobsResponse.Builder
extends AmplifyBackendResponse.Builder, SdkPojo, CopyableBuilder<ListBackendJobsResponse.Builder,ListBackendJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobs
(Collection<BackendJobRespObj> jobs) An array of jobs and their properties.jobs
(Consumer<BackendJobRespObj.Builder>... jobs) An array of jobs and their properties.jobs
(BackendJobRespObj... jobs) An array of jobs and their properties.The token for the next set of results.Methods inherited from interface software.amazon.awssdk.services.amplifybackend.model.AmplifyBackendResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
An array of jobs and their properties.
- Parameters:
jobs
- An array of jobs and their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
An array of jobs and their properties.
- Parameters:
jobs
- An array of jobs and their properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
An array of jobs and their properties.
This is a convenience method that creates an instance of theBackendJobRespObj.Builder
avoiding the need to create one manually viaBackendJobRespObj.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobs(List<BackendJobRespObj>)
.- Parameters:
jobs
- a consumer that will call methods onBackendJobRespObj.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.
- Parameters:
nextToken
- The token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-