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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchStepsResponse.BuildernextItemOffset(Integer nextItemOffset)The next incremental starting point after the defineditemOffset.SearchStepsResponse.Buildersteps(Collection<StepSearchSummary> steps)The steps in the search.SearchStepsResponse.Buildersteps(Consumer<StepSearchSummary.Builder>... steps)The steps in the search.SearchStepsResponse.Buildersteps(StepSearchSummary... steps)The steps in the search.SearchStepsResponse.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
-
nextItemOffset
SearchStepsResponse.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.
-
steps
SearchStepsResponse.Builder steps(Collection<StepSearchSummary> 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
SearchStepsResponse.Builder steps(StepSearchSummary... 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
SearchStepsResponse.Builder steps(Consumer<StepSearchSummary.Builder>... 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 to#steps(List.) - 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:
#steps(java.util.Collection)
-
totalResults
SearchStepsResponse.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.
-
-