Struct aws_sdk_wisdom::types::builders::KnowledgeBaseDataBuilder
source · #[non_exhaustive]pub struct KnowledgeBaseDataBuilder { /* private fields */ }
Expand description
A builder for KnowledgeBaseData
.
Implementations§
source§impl KnowledgeBaseDataBuilder
impl KnowledgeBaseDataBuilder
sourcepub fn knowledge_base_id(self, input: impl Into<String>) -> Self
pub fn knowledge_base_id(self, input: impl Into<String>) -> Self
The identifier of the knowledge base.
sourcepub fn set_knowledge_base_id(self, input: Option<String>) -> Self
pub fn set_knowledge_base_id(self, input: Option<String>) -> Self
The identifier of the knowledge base.
sourcepub fn get_knowledge_base_id(&self) -> &Option<String>
pub fn get_knowledge_base_id(&self) -> &Option<String>
The identifier of the knowledge base.
sourcepub fn knowledge_base_arn(self, input: impl Into<String>) -> Self
pub fn knowledge_base_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the knowledge base.
sourcepub fn set_knowledge_base_arn(self, input: Option<String>) -> Self
pub fn set_knowledge_base_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the knowledge base.
sourcepub fn get_knowledge_base_arn(&self) -> &Option<String>
pub fn get_knowledge_base_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the knowledge base.
sourcepub fn knowledge_base_type(self, input: KnowledgeBaseType) -> Self
pub fn knowledge_base_type(self, input: KnowledgeBaseType) -> Self
The type of knowledge base.
sourcepub fn set_knowledge_base_type(self, input: Option<KnowledgeBaseType>) -> Self
pub fn set_knowledge_base_type(self, input: Option<KnowledgeBaseType>) -> Self
The type of knowledge base.
sourcepub fn get_knowledge_base_type(&self) -> &Option<KnowledgeBaseType>
pub fn get_knowledge_base_type(&self) -> &Option<KnowledgeBaseType>
The type of knowledge base.
sourcepub fn status(self, input: KnowledgeBaseStatus) -> Self
pub fn status(self, input: KnowledgeBaseStatus) -> Self
The status of the knowledge base.
sourcepub fn set_status(self, input: Option<KnowledgeBaseStatus>) -> Self
pub fn set_status(self, input: Option<KnowledgeBaseStatus>) -> Self
The status of the knowledge base.
sourcepub fn get_status(&self) -> &Option<KnowledgeBaseStatus>
pub fn get_status(&self) -> &Option<KnowledgeBaseStatus>
The status of the knowledge base.
sourcepub fn last_content_modification_time(self, input: DateTime) -> Self
pub fn last_content_modification_time(self, input: DateTime) -> Self
An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content exists in a knowledge base, this value is unset.
sourcepub fn set_last_content_modification_time(self, input: Option<DateTime>) -> Self
pub fn set_last_content_modification_time(self, input: Option<DateTime>) -> Self
An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content exists in a knowledge base, this value is unset.
sourcepub fn get_last_content_modification_time(&self) -> &Option<DateTime>
pub fn get_last_content_modification_time(&self) -> &Option<DateTime>
An epoch timestamp indicating the most recent content modification inside the knowledge base. If no content exists in a knowledge base, this value is unset.
sourcepub fn source_configuration(self, input: SourceConfiguration) -> Self
pub fn source_configuration(self, input: SourceConfiguration) -> Self
Source configuration information about the knowledge base.
sourcepub fn set_source_configuration(
self,
input: Option<SourceConfiguration>
) -> Self
pub fn set_source_configuration( self, input: Option<SourceConfiguration> ) -> Self
Source configuration information about the knowledge base.
sourcepub fn get_source_configuration(&self) -> &Option<SourceConfiguration>
pub fn get_source_configuration(&self) -> &Option<SourceConfiguration>
Source configuration information about the knowledge base.
sourcepub fn rendering_configuration(self, input: RenderingConfiguration) -> Self
pub fn rendering_configuration(self, input: RenderingConfiguration) -> Self
Information about how to render the content.
sourcepub fn set_rendering_configuration(
self,
input: Option<RenderingConfiguration>
) -> Self
pub fn set_rendering_configuration( self, input: Option<RenderingConfiguration> ) -> Self
Information about how to render the content.
sourcepub fn get_rendering_configuration(&self) -> &Option<RenderingConfiguration>
pub fn get_rendering_configuration(&self) -> &Option<RenderingConfiguration>
Information about how to render the content.
sourcepub fn server_side_encryption_configuration(
self,
input: ServerSideEncryptionConfiguration
) -> Self
pub fn server_side_encryption_configuration( self, input: ServerSideEncryptionConfiguration ) -> Self
The KMS key used for encryption.
sourcepub fn set_server_side_encryption_configuration(
self,
input: Option<ServerSideEncryptionConfiguration>
) -> Self
pub fn set_server_side_encryption_configuration( self, input: Option<ServerSideEncryptionConfiguration> ) -> Self
The KMS key used for encryption.
sourcepub fn get_server_side_encryption_configuration(
&self
) -> &Option<ServerSideEncryptionConfiguration>
pub fn get_server_side_encryption_configuration( &self ) -> &Option<ServerSideEncryptionConfiguration>
The KMS key used for encryption.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
sourcepub fn build(self) -> KnowledgeBaseData
pub fn build(self) -> KnowledgeBaseData
Consumes the builder and constructs a KnowledgeBaseData
.
Trait Implementations§
source§impl Clone for KnowledgeBaseDataBuilder
impl Clone for KnowledgeBaseDataBuilder
source§fn clone(&self) -> KnowledgeBaseDataBuilder
fn clone(&self) -> KnowledgeBaseDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KnowledgeBaseDataBuilder
impl Debug for KnowledgeBaseDataBuilder
source§impl Default for KnowledgeBaseDataBuilder
impl Default for KnowledgeBaseDataBuilder
source§fn default() -> KnowledgeBaseDataBuilder
fn default() -> KnowledgeBaseDataBuilder
source§impl PartialEq<KnowledgeBaseDataBuilder> for KnowledgeBaseDataBuilder
impl PartialEq<KnowledgeBaseDataBuilder> for KnowledgeBaseDataBuilder
source§fn eq(&self, other: &KnowledgeBaseDataBuilder) -> bool
fn eq(&self, other: &KnowledgeBaseDataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.