Interface SearchStepsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchStepsResponse.Builder,
,SearchStepsResponse> DeadlineResponse.Builder
,SdkBuilder<SearchStepsResponse.Builder,
,SearchStepsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchStepsResponse
@Mutable
@NotThreadSafe
public static interface SearchStepsResponse.Builder
extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<SearchStepsResponse.Builder,SearchStepsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextItemOffset
(Integer nextItemOffset) The next incremental starting point after the defineditemOffset
.steps
(Collection<StepSearchSummary> steps) The steps in the search.steps
(Consumer<StepSearchSummary.Builder>... steps) The steps in the search.steps
(StepSearchSummary... steps) The steps in the search.totalResults
(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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
steps
The steps in the search.
- Parameters:
steps
- The steps in the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The steps in the search.
- Parameters:
steps
- The steps in the search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The steps in the search.
This is a convenience method that creates an instance of theStepSearchSummary.Builder
avoiding the need to create one manually viaStepSearchSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosteps(List<StepSearchSummary>)
.- Parameters:
steps
- a consumer that will call methods onStepSearchSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-