Interface SearchStepsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchStepsResponse.Builder,,SearchStepsResponse> DeadlineResponse.Builder,SdkBuilder<SearchStepsResponse.Builder,,SearchStepsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchStepsResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.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
-
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.Builderavoiding the need to create one manually viaStepSearchSummary.builder().When the
Consumercompletes,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.
-