Class CfnIndexMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.qbusiness.CfnIndexMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndexMixinProps>
- Enclosing interface:
CfnIndexMixinProps
@Stability(Stable)
public static final class CfnIndexMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndexMixinProps>
A builder for
CfnIndexMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnIndexMixinProps.getApplicationId()build()Builds the configured instance.capacityConfiguration(CfnIndexPropsMixin.IndexCapacityConfigurationProperty capacityConfiguration) Sets the value ofCfnIndexMixinProps.getCapacityConfiguration()capacityConfiguration(IResolvable capacityConfiguration) Sets the value ofCfnIndexMixinProps.getCapacityConfiguration()description(String description) Sets the value ofCfnIndexMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnIndexMixinProps.getDisplayName()documentAttributeConfigurations(List<? extends Object> documentAttributeConfigurations) Sets the value ofCfnIndexMixinProps.getDocumentAttributeConfigurations()documentAttributeConfigurations(IResolvable documentAttributeConfigurations) Sets the value ofCfnIndexMixinProps.getDocumentAttributeConfigurations()Sets the value ofCfnIndexMixinProps.getTags()Sets the value ofCfnIndexMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnIndexMixinProps.getApplicationId()- Parameters:
applicationId- The identifier of the Amazon Q Business application using the index.- Returns:
this
-
capacityConfiguration
@Stability(Stable) public CfnIndexMixinProps.Builder capacityConfiguration(IResolvable capacityConfiguration) Sets the value ofCfnIndexMixinProps.getCapacityConfiguration()- Parameters:
capacityConfiguration- The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.- Returns:
this
-
capacityConfiguration
@Stability(Stable) public CfnIndexMixinProps.Builder capacityConfiguration(CfnIndexPropsMixin.IndexCapacityConfigurationProperty capacityConfiguration) Sets the value ofCfnIndexMixinProps.getCapacityConfiguration()- Parameters:
capacityConfiguration- The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.- Returns:
this
-
description
Sets the value ofCfnIndexMixinProps.getDescription()- Parameters:
description- A description for the Amazon Q Business index.- Returns:
this
-
displayName
Sets the value ofCfnIndexMixinProps.getDisplayName()- Parameters:
displayName- The name of the index.- Returns:
this
-
documentAttributeConfigurations
@Stability(Stable) public CfnIndexMixinProps.Builder documentAttributeConfigurations(IResolvable documentAttributeConfigurations) Sets the value ofCfnIndexMixinProps.getDocumentAttributeConfigurations()- Parameters:
documentAttributeConfigurations- Configuration information for document attributes. Document attributes are metadata or fields associated with your documents. For example, the company department name associated with each document.For more information, see Understanding document attributes .
- Returns:
this
-
documentAttributeConfigurations
@Stability(Stable) public CfnIndexMixinProps.Builder documentAttributeConfigurations(List<? extends Object> documentAttributeConfigurations) Sets the value ofCfnIndexMixinProps.getDocumentAttributeConfigurations()- Parameters:
documentAttributeConfigurations- Configuration information for document attributes. Document attributes are metadata or fields associated with your documents. For example, the company department name associated with each document.For more information, see Understanding document attributes .
- Returns:
this
-
tags
Sets the value ofCfnIndexMixinProps.getTags()- Parameters:
tags- A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -- Returns:
this
-
type
Sets the value ofCfnIndexMixinProps.getType()- Parameters:
type- The index type that's suitable for your needs. For more information on what's included in each type of index, see Amazon Q Business tiers .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndexMixinProps>- Returns:
- a new instance of
CfnIndexMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-