Interface RedisEnterpriseCloudConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RedisEnterpriseCloudConfiguration.Builder,
,RedisEnterpriseCloudConfiguration> SdkBuilder<RedisEnterpriseCloudConfiguration.Builder,
,RedisEnterpriseCloudConfiguration> SdkPojo
- Enclosing class:
RedisEnterpriseCloudConfiguration
public static interface RedisEnterpriseCloudConfiguration.Builder
extends SdkPojo, CopyableBuilder<RedisEnterpriseCloudConfiguration.Builder,RedisEnterpriseCloudConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncredentialsSecretArn
(String credentialsSecretArn) The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Redis Enterprise Cloud database.The endpoint URL of the Redis Enterprise Cloud database.fieldMapping
(Consumer<RedisEnterpriseCloudFieldMapping.Builder> fieldMapping) Contains the names of the fields to which to map information about the vector store.fieldMapping
(RedisEnterpriseCloudFieldMapping fieldMapping) Contains the names of the fields to which to map information about the vector store.vectorIndexName
(String vectorIndexName) The name of the vector index.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, sdkFields
-
Method Details
-
credentialsSecretArn
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Redis Enterprise Cloud database.
- Parameters:
credentialsSecretArn
- The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Redis Enterprise Cloud database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
The endpoint URL of the Redis Enterprise Cloud database.
- Parameters:
endpoint
- The endpoint URL of the Redis Enterprise Cloud database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMapping
RedisEnterpriseCloudConfiguration.Builder fieldMapping(RedisEnterpriseCloudFieldMapping 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 RedisEnterpriseCloudConfiguration.Builder fieldMapping(Consumer<RedisEnterpriseCloudFieldMapping.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 theRedisEnterpriseCloudFieldMapping.Builder
avoiding the need to create one manually viaRedisEnterpriseCloudFieldMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofieldMapping(RedisEnterpriseCloudFieldMapping)
.- Parameters:
fieldMapping
- a consumer that will call methods onRedisEnterpriseCloudFieldMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vectorIndexName
The name of the vector index.
- Parameters:
vectorIndexName
- The name of the vector index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-