Interface CreateFeaturedResultsSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateFeaturedResultsSetResponse.Builder,
,CreateFeaturedResultsSetResponse> KendraResponse.Builder
,SdkBuilder<CreateFeaturedResultsSetResponse.Builder,
,CreateFeaturedResultsSetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateFeaturedResultsSetResponse
public static interface CreateFeaturedResultsSetResponse.Builder
extends KendraResponse.Builder, SdkPojo, CopyableBuilder<CreateFeaturedResultsSetResponse.Builder,CreateFeaturedResultsSetResponse>
-
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 created, 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 created, and more.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredResultsSet
default CreateFeaturedResultsSetResponse.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 created, 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:
-