Interface OpenSearchManagedClusterConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OpenSearchManagedClusterConfiguration.Builder,,OpenSearchManagedClusterConfiguration> SdkBuilder<OpenSearchManagedClusterConfiguration.Builder,,OpenSearchManagedClusterConfiguration> SdkPojo
- Enclosing class:
OpenSearchManagedClusterConfiguration
@Mutable
@NotThreadSafe
public static interface OpenSearchManagedClusterConfiguration.Builder
extends SdkPojo, CopyableBuilder<OpenSearchManagedClusterConfiguration.Builder,OpenSearchManagedClusterConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the OpenSearch domain.domainEndpoint(String domainEndpoint) The endpoint URL the OpenSearch domain.fieldMapping(Consumer<OpenSearchManagedClusterFieldMapping.Builder> fieldMapping) Contains the names of the fields to which to map information about the vector store.fieldMapping(OpenSearchManagedClusterFieldMapping fieldMapping) Contains the names of the fields to which to map information about the vector store.vectorIndexName(String vectorIndexName) The name of the vector store.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainEndpoint
The endpoint URL the OpenSearch domain.
- Parameters:
domainEndpoint- The endpoint URL the OpenSearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainArn
The Amazon Resource Name (ARN) of the OpenSearch domain.
- Parameters:
domainArn- The Amazon Resource Name (ARN) of the OpenSearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorIndexName
The name of the vector store.
- Parameters:
vectorIndexName- The name of the vector store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMapping
OpenSearchManagedClusterConfiguration.Builder fieldMapping(OpenSearchManagedClusterFieldMapping fieldMapping) Contains the names of the fields to which to map information about the vector store.
- Parameters:
fieldMapping- Contains the names of the fields to which to map information about the vector store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMapping
default OpenSearchManagedClusterConfiguration.Builder fieldMapping(Consumer<OpenSearchManagedClusterFieldMapping.Builder> fieldMapping) Contains the names of the fields to which to map information about the vector store.
This is a convenience method that creates an instance of theOpenSearchManagedClusterFieldMapping.Builderavoiding the need to create one manually viaOpenSearchManagedClusterFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofieldMapping(OpenSearchManagedClusterFieldMapping).- Parameters:
fieldMapping- a consumer that will call methods onOpenSearchManagedClusterFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-