Interface SearchJobsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchJobsResponse.Builder,SearchJobsResponse>,DeadlineResponse.Builder,SdkBuilder<SearchJobsResponse.Builder,SearchJobsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchJobsResponse
public static interface SearchJobsResponse.Builder extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<SearchJobsResponse.Builder,SearchJobsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchJobsResponse.Builderjobs(Collection<JobSearchSummary> jobs)The jobs in the search.SearchJobsResponse.Builderjobs(Consumer<JobSearchSummary.Builder>... jobs)The jobs in the search.SearchJobsResponse.Builderjobs(JobSearchSummary... jobs)The jobs in the search.SearchJobsResponse.BuildernextItemOffset(Integer nextItemOffset)The next incremental starting point after the defineditemOffset.SearchJobsResponse.BuildertotalResults(Integer totalResults)The total number of results in the search.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.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
SearchJobsResponse.Builder jobs(Collection<JobSearchSummary> jobs)
The jobs in the search.
- Parameters:
jobs- The jobs in the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
SearchJobsResponse.Builder jobs(JobSearchSummary... jobs)
The jobs in the search.
- Parameters:
jobs- The jobs in the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
SearchJobsResponse.Builder jobs(Consumer<JobSearchSummary.Builder>... jobs)
The jobs in the search.
This is a convenience method that creates an instance of theJobSearchSummary.Builderavoiding the need to create one manually viaJobSearchSummary.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 onJobSearchSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#jobs(java.util.Collection)
-
nextItemOffset
SearchJobsResponse.Builder nextItemOffset(Integer nextItemOffset)
The next incremental starting point after the defined
itemOffset.- Parameters:
nextItemOffset- The next incremental starting point after the defineditemOffset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalResults
SearchJobsResponse.Builder totalResults(Integer totalResults)
The total number of results in the search.
- Parameters:
totalResults- The total number of results in the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-