Class CfnIndex.DocumentAttributeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.qbusiness.CfnIndex.DocumentAttributeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndex.DocumentAttributeConfigurationProperty>
- Enclosing interface:
CfnIndex.DocumentAttributeConfigurationProperty
@Stability(Stable)
public static final class CfnIndex.DocumentAttributeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndex.DocumentAttributeConfigurationProperty>
A builder for
CfnIndex.DocumentAttributeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnIndex.DocumentAttributeConfigurationProperty.getName()Sets the value ofCfnIndex.DocumentAttributeConfigurationProperty.getSearch()Sets the value ofCfnIndex.DocumentAttributeConfigurationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnIndex.DocumentAttributeConfigurationProperty.getName()- Parameters:
name- The name of the document attribute.- Returns:
this
-
search
@Stability(Stable) public CfnIndex.DocumentAttributeConfigurationProperty.Builder search(String search) Sets the value ofCfnIndex.DocumentAttributeConfigurationProperty.getSearch()- Parameters:
search- Information about whether the document attribute can be used by an end user to search for information on their web experience.- Returns:
this
-
type
Sets the value ofCfnIndex.DocumentAttributeConfigurationProperty.getType()- Parameters:
type- The type of document attribute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndex.DocumentAttributeConfigurationProperty>- Returns:
- a new instance of
CfnIndex.DocumentAttributeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-