#[non_exhaustive]pub struct CreateDataSourceInput {
pub knowledge_base_id: Option<String>,
pub client_token: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub data_source_configuration: Option<DataSourceConfiguration>,
pub server_side_encryption_configuration: Option<ServerSideEncryptionConfiguration>,
pub vector_ingestion_configuration: Option<VectorIngestionConfiguration>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.knowledge_base_id: Option<String>Identifier for a resource.
client_token: Option<String>Client specified token used for idempotency checks
name: Option<String>Name for a resource.
description: Option<String>Description of the Resource.
data_source_configuration: Option<DataSourceConfiguration>Specifies a raw data source location to ingest.
server_side_encryption_configuration: Option<ServerSideEncryptionConfiguration>Server-side encryption configuration.
vector_ingestion_configuration: Option<VectorIngestionConfiguration>Configures ingestion for a vector knowledge base
Implementations§
source§impl CreateDataSourceInput
impl CreateDataSourceInput
sourcepub fn knowledge_base_id(&self) -> Option<&str>
pub fn knowledge_base_id(&self) -> Option<&str>
Identifier for a resource.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Client specified token used for idempotency checks
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the Resource.
sourcepub fn data_source_configuration(&self) -> Option<&DataSourceConfiguration>
pub fn data_source_configuration(&self) -> Option<&DataSourceConfiguration>
Specifies a raw data source location to ingest.
sourcepub fn server_side_encryption_configuration(
&self
) -> Option<&ServerSideEncryptionConfiguration>
pub fn server_side_encryption_configuration( &self ) -> Option<&ServerSideEncryptionConfiguration>
Server-side encryption configuration.
sourcepub fn vector_ingestion_configuration(
&self
) -> Option<&VectorIngestionConfiguration>
pub fn vector_ingestion_configuration( &self ) -> Option<&VectorIngestionConfiguration>
Configures ingestion for a vector knowledge base
source§impl CreateDataSourceInput
impl CreateDataSourceInput
sourcepub fn builder() -> CreateDataSourceInputBuilder
pub fn builder() -> CreateDataSourceInputBuilder
Creates a new builder-style object to manufacture CreateDataSourceInput.
Trait Implementations§
source§impl Clone for CreateDataSourceInput
impl Clone for CreateDataSourceInput
source§fn clone(&self) -> CreateDataSourceInput
fn clone(&self) -> CreateDataSourceInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CreateDataSourceInput
impl Debug for CreateDataSourceInput
source§impl PartialEq for CreateDataSourceInput
impl PartialEq for CreateDataSourceInput
source§fn eq(&self, other: &CreateDataSourceInput) -> bool
fn eq(&self, other: &CreateDataSourceInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateDataSourceInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateDataSourceInput
impl Send for CreateDataSourceInput
impl Sync for CreateDataSourceInput
impl Unpin for CreateDataSourceInput
impl UnwindSafe for CreateDataSourceInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.