Class CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domainEndpoint(String domainEndpoint) fieldMapping(IResolvable fieldMapping) vectorIndexName(String vectorIndexName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainArn
@Stability(Stable) public CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.Builder domainArn(String domainArn) Sets the value ofCfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.getDomainArn()- Parameters:
domainArn- The Amazon Resource Name (ARN) of the OpenSearch domain.- Returns:
this
-
domainEndpoint
@Stability(Stable) public CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.Builder domainEndpoint(String domainEndpoint) Sets the value ofCfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.getDomainEndpoint()- Parameters:
domainEndpoint- The endpoint URL the OpenSearch domain.- Returns:
this
-
fieldMapping
@Stability(Stable) public CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.Builder fieldMapping(IResolvable fieldMapping) Sets the value ofCfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.getFieldMapping()- Parameters:
fieldMapping- Contains the names of the fields to which to map information about the vector store.- Returns:
this
-
fieldMapping
@Stability(Stable) public CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.Builder fieldMapping(CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterFieldMappingProperty fieldMapping) Sets the value ofCfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.getFieldMapping()- Parameters:
fieldMapping- Contains the names of the fields to which to map information about the vector store.- Returns:
this
-
vectorIndexName
@Stability(Stable) public CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.Builder vectorIndexName(String vectorIndexName) Sets the value ofCfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty.getVectorIndexName()- Parameters:
vectorIndexName- The name of the vector store.- Returns:
this
-
build
@Stability(Stable) public CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-