Class StorageConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagent.model.StorageConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StorageConfiguration.Builder,StorageConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class StorageConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StorageConfiguration.Builder,StorageConfiguration>
Contains the storage configuration of the knowledge base.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStorageConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StorageConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MongoDbAtlasConfigurationmongoDbAtlasConfiguration()Contains the storage configuration of the knowledge base in MongoDB Atlas.OpenSearchServerlessConfigurationopensearchServerlessConfiguration()Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.PineconeConfigurationpineconeConfiguration()Contains the storage configuration of the knowledge base in Pinecone.RdsConfigurationrdsConfiguration()Contains details about the storage configuration of the knowledge base in Amazon RDS.RedisEnterpriseCloudConfigurationredisEnterpriseCloudConfiguration()Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.List<SdkField<?>>sdkFields()static Class<? extends StorageConfiguration.Builder>serializableBuilderClass()StorageConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.KnowledgeBaseStorageTypetype()The vector store service in which the knowledge base is stored.StringtypeAsString()The vector store service in which the knowledge base is stored.-
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
-
mongoDbAtlasConfiguration
public final MongoDbAtlasConfiguration mongoDbAtlasConfiguration()
Contains the storage configuration of the knowledge base in MongoDB Atlas.
- Returns:
- Contains the storage configuration of the knowledge base in MongoDB Atlas.
-
opensearchServerlessConfiguration
public final OpenSearchServerlessConfiguration opensearchServerlessConfiguration()
Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
- Returns:
- Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
-
pineconeConfiguration
public final PineconeConfiguration pineconeConfiguration()
Contains the storage configuration of the knowledge base in Pinecone.
- Returns:
- Contains the storage configuration of the knowledge base in Pinecone.
-
rdsConfiguration
public final RdsConfiguration rdsConfiguration()
Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.
- Returns:
- Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.
-
redisEnterpriseCloudConfiguration
public final RedisEnterpriseCloudConfiguration redisEnterpriseCloudConfiguration()
Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.
- Returns:
- Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.
-
type
public final KnowledgeBaseStorageType type()
The vector store service in which the knowledge base is stored.
If the service returns an enum value that is not available in the current SDK version,
typewill returnKnowledgeBaseStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The vector store service in which the knowledge base is stored.
- See Also:
KnowledgeBaseStorageType
-
typeAsString
public final String typeAsString()
The vector store service in which the knowledge base is stored.
If the service returns an enum value that is not available in the current SDK version,
typewill returnKnowledgeBaseStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The vector store service in which the knowledge base is stored.
- See Also:
KnowledgeBaseStorageType
-
toBuilder
public StorageConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StorageConfiguration.Builder,StorageConfiguration>
-
builder
public static StorageConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends StorageConfiguration.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.
-
-