Interface SearchSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SearchSummary.Builder,,SearchSummary> SdkBuilder<SearchSummary.Builder,,SearchSummary> SdkPojo
- Enclosing class:
SearchSummary
public static interface SearchSummary.Builder
extends SdkPojo, CopyableBuilder<SearchSummary.Builder,SearchSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the search job.default SearchSummary.Builderstatus(Consumer<SearchStatus.Builder> status) The current status of the search job.status(SearchStatus status) The current status of the search job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
searchId
The unique identifier of the search job.
- Parameters:
searchId- The unique identifier of the search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the search job.
- Parameters:
status- The current status of the search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the search job.
This is a convenience method that creates an instance of theSearchStatus.Builderavoiding the need to create one manually viaSearchStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(SearchStatus).- Parameters:
status- a consumer that will call methods onSearchStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-