Interface UpdateFeaturedResultsSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateFeaturedResultsSetResponse.Builder,
,UpdateFeaturedResultsSetResponse> KendraResponse.Builder
,SdkBuilder<UpdateFeaturedResultsSetResponse.Builder,
,UpdateFeaturedResultsSetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateFeaturedResultsSetResponse
public static interface UpdateFeaturedResultsSetResponse.Builder
extends KendraResponse.Builder, SdkPojo, CopyableBuilder<UpdateFeaturedResultsSetResponse.Builder,UpdateFeaturedResultsSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfeaturedResultsSet
(Consumer<FeaturedResultsSet.Builder> featuredResultsSet) Information on the set of featured results.featuredResultsSet
(FeaturedResultsSet featuredResultsSet) Information on the set of featured results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.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 Details
-
featuredResultsSet
Information on the set of featured results. This includes the identifier of the featured results set, whether the featured results set is active or inactive, when the featured results set was last updated, and more.
- Parameters:
featuredResultsSet
- Information on the set of featured results. This includes the identifier of the featured results set, whether the featured results set is active or inactive, when the featured results set was last updated, and more.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredResultsSet
default UpdateFeaturedResultsSetResponse.Builder featuredResultsSet(Consumer<FeaturedResultsSet.Builder> featuredResultsSet) Information on the set of featured results. This includes the identifier of the featured results set, whether the featured results set is active or inactive, when the featured results set was last updated, and more.
This is a convenience method that creates an instance of theFeaturedResultsSet.Builder
avoiding the need to create one manually viaFeaturedResultsSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofeaturedResultsSet(FeaturedResultsSet)
.- Parameters:
featuredResultsSet
- a consumer that will call methods onFeaturedResultsSet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-