Interface SearchSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchSummary.Builder,
,SearchSummary> SdkBuilder<SearchSummary.Builder,
,SearchSummary> SdkPojo
- Enclosing class:
SearchSummary
@Mutable
@NotThreadSafe
public static interface SearchSummary.Builder
extends SdkPojo, CopyableBuilder<SearchSummary.Builder,SearchSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the search job.default SearchSummary.Builder
status
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaSearchStatus.builder()
.When the
Consumer
completes,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:
-