Class PineconeConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.PineconeConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PineconeConfiguration.Builder,PineconeConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class PineconeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PineconeConfiguration.Builder,PineconeConfiguration>
Contains details about the storage configuration of the knowledge base in Pinecone. For more information, see Create a vector index in Pinecone.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePineconeConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PineconeConfiguration.Builderbuilder()StringconnectionString()The endpoint URL for your index management page.StringcredentialsSecretArn()The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)PineconeFieldMappingfieldMapping()Contains the names of the fields to which to map information about the vector store.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringnamespace()The namespace to be used to write new data to your database.List<SdkField<?>>sdkFields()static Class<? extends PineconeConfiguration.Builder>serializableBuilderClass()PineconeConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
connectionString
public final String connectionString()
The endpoint URL for your index management page.
- Returns:
- The endpoint URL for your index management page.
-
credentialsSecretArn
public final String credentialsSecretArn()
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key.
- Returns:
- The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key.
-
fieldMapping
public final PineconeFieldMapping fieldMapping()
Contains the names of the fields to which to map information about the vector store.
- Returns:
- Contains the names of the fields to which to map information about the vector store.
-
namespace
public final String namespace()
The namespace to be used to write new data to your database.
- Returns:
- The namespace to be used to write new data to your database.
-
toBuilder
public PineconeConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PineconeConfiguration.Builder,PineconeConfiguration>
-
builder
public static PineconeConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends PineconeConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-