Class CfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty>
- Enclosing interface:
CfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty
@Stability(Stable)
public static final class CfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty>
A builder for
CfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty.getId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
@Stability(Stable) public CfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty.Builder id(String id) Sets the value ofCfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty.getId()- Parameters:
id- The identifier of the document to feature in the search results.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty>- Returns:
- a new instance of
CfnFeaturedResultsSetPropsMixin.FeaturedDocumentProperty - Throws:
NullPointerException- if any required attribute was not provided
-