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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RedisEnterpriseCloudConfiguration.BuildercredentialsSecretArn(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.RedisEnterpriseCloudConfiguration.Builderendpoint(String endpoint)The endpoint URL of the Redis Enterprise Cloud database.default RedisEnterpriseCloudConfiguration.BuilderfieldMapping(Consumer<RedisEnterpriseCloudFieldMapping.Builder> fieldMapping)Contains the names of the fields to which to map information about the vector store.RedisEnterpriseCloudConfiguration.BuilderfieldMapping(RedisEnterpriseCloudFieldMapping fieldMapping)Contains the names of the fields to which to map information about the vector store.RedisEnterpriseCloudConfiguration.BuildervectorIndexName(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 Detail
-
credentialsSecretArn
RedisEnterpriseCloudConfiguration.Builder credentialsSecretArn(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.
- 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
RedisEnterpriseCloudConfiguration.Builder endpoint(String 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.Builderavoiding the need to create one manually viaRedisEnterpriseCloudFieldMapping.builder().When the
Consumercompletes,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:
fieldMapping(RedisEnterpriseCloudFieldMapping)
-
vectorIndexName
RedisEnterpriseCloudConfiguration.Builder vectorIndexName(String 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.
-
-