Struct aws_sdk_bedrockagent::types::StorageConfiguration
source · #[non_exhaustive]pub struct StorageConfiguration {
pub type: KnowledgeBaseStorageType,
pub opensearch_serverless_configuration: Option<OpenSearchServerlessConfiguration>,
pub pinecone_configuration: Option<PineconeConfiguration>,
pub redis_enterprise_cloud_configuration: Option<RedisEnterpriseCloudConfiguration>,
pub rds_configuration: Option<RdsConfiguration>,
}Expand description
Configures the physical storage of ingested data in a knowledge base.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: KnowledgeBaseStorageTypeThe storage type of a knowledge base.
opensearch_serverless_configuration: Option<OpenSearchServerlessConfiguration>Contains the configurations to use OpenSearch Serverless to store knowledge base data.
pinecone_configuration: Option<PineconeConfiguration>Contains the configurations to use Pinecone to store knowledge base data.
redis_enterprise_cloud_configuration: Option<RedisEnterpriseCloudConfiguration>Contains the configurations to use Redis Enterprise Cloud to store knowledge base data.
rds_configuration: Option<RdsConfiguration>Contains the configurations to use RDS to store knowledge base data.
Implementations§
source§impl StorageConfiguration
impl StorageConfiguration
sourcepub fn type(&self) -> &KnowledgeBaseStorageType
pub fn type(&self) -> &KnowledgeBaseStorageType
The storage type of a knowledge base.
sourcepub fn opensearch_serverless_configuration(
&self
) -> Option<&OpenSearchServerlessConfiguration>
pub fn opensearch_serverless_configuration( &self ) -> Option<&OpenSearchServerlessConfiguration>
Contains the configurations to use OpenSearch Serverless to store knowledge base data.
sourcepub fn pinecone_configuration(&self) -> Option<&PineconeConfiguration>
pub fn pinecone_configuration(&self) -> Option<&PineconeConfiguration>
Contains the configurations to use Pinecone to store knowledge base data.
sourcepub fn redis_enterprise_cloud_configuration(
&self
) -> Option<&RedisEnterpriseCloudConfiguration>
pub fn redis_enterprise_cloud_configuration( &self ) -> Option<&RedisEnterpriseCloudConfiguration>
Contains the configurations to use Redis Enterprise Cloud to store knowledge base data.
sourcepub fn rds_configuration(&self) -> Option<&RdsConfiguration>
pub fn rds_configuration(&self) -> Option<&RdsConfiguration>
Contains the configurations to use RDS to store knowledge base data.
source§impl StorageConfiguration
impl StorageConfiguration
sourcepub fn builder() -> StorageConfigurationBuilder
pub fn builder() -> StorageConfigurationBuilder
Creates a new builder-style object to manufacture StorageConfiguration.
Trait Implementations§
source§impl Clone for StorageConfiguration
impl Clone for StorageConfiguration
source§fn clone(&self) -> StorageConfiguration
fn clone(&self) -> StorageConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StorageConfiguration
impl Debug for StorageConfiguration
source§impl PartialEq for StorageConfiguration
impl PartialEq for StorageConfiguration
source§fn eq(&self, other: &StorageConfiguration) -> bool
fn eq(&self, other: &StorageConfiguration) -> bool
self and other values to be equal, and is used
by ==.