Interface ListJobsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>,DataExchangeResponse.Builder,SdkBuilder<ListJobsResponse.Builder,ListJobsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListJobsResponse
public static interface ListJobsResponse.Builder extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<ListJobsResponse.Builder,ListJobsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobsResponse.Builderjobs(Collection<JobEntry> jobs)The jobs listed by the request.ListJobsResponse.Builderjobs(Consumer<JobEntry.Builder>... jobs)The jobs listed by the request.ListJobsResponse.Builderjobs(JobEntry... jobs)The jobs listed by the request.ListJobsResponse.BuildernextToken(String nextToken)The token value retrieved from a previous call to access the next page of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dataexchange.model.DataExchangeResponse.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<JobEntry> jobs)
The jobs listed by the request.
- Parameters:
jobs- The jobs listed by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
ListJobsResponse.Builder jobs(JobEntry... jobs)
The jobs listed by the request.
- Parameters:
jobs- The jobs listed by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
ListJobsResponse.Builder jobs(Consumer<JobEntry.Builder>... jobs)
The jobs listed by the request.
This is a convenience method that creates an instance of theJobEntry.Builderavoiding the need to create one manually viaJobEntry.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 onJobEntry.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 value retrieved from a previous call to access the next page of results.
- Parameters:
nextToken- The token value retrieved from a previous call to access the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-