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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OpenSearchManagedClusterConfiguration.BuilderdomainArn(String domainArn)The Amazon Resource Name (ARN) of the OpenSearch domain.OpenSearchManagedClusterConfiguration.BuilderdomainEndpoint(String domainEndpoint)The endpoint URL the OpenSearch domain.default OpenSearchManagedClusterConfiguration.BuilderfieldMapping(Consumer<OpenSearchManagedClusterFieldMapping.Builder> fieldMapping)Contains the names of the fields to which to map information about the vector store.OpenSearchManagedClusterConfiguration.BuilderfieldMapping(OpenSearchManagedClusterFieldMapping fieldMapping)Contains the names of the fields to which to map information about the vector store.OpenSearchManagedClusterConfiguration.BuildervectorIndexName(String vectorIndexName)The name of the vector store.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
domainEndpoint
OpenSearchManagedClusterConfiguration.Builder domainEndpoint(String 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
OpenSearchManagedClusterConfiguration.Builder domainArn(String 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
OpenSearchManagedClusterConfiguration.Builder vectorIndexName(String 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:
fieldMapping(OpenSearchManagedClusterFieldMapping)
-
-