Struct aws_sdk_qconnect::operation::update_knowledge_base_template_uri::builders::UpdateKnowledgeBaseTemplateUriInputBuilder
source · #[non_exhaustive]pub struct UpdateKnowledgeBaseTemplateUriInputBuilder { /* private fields */ }Expand description
A builder for UpdateKnowledgeBaseTemplateUriInput.
Implementations§
source§impl UpdateKnowledgeBaseTemplateUriInputBuilder
impl UpdateKnowledgeBaseTemplateUriInputBuilder
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. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
This field is required.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. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn get_knowledge_base_id(&self) -> &Option<String>
pub fn get_knowledge_base_id(&self) -> &Option<String>
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn template_uri(self, input: impl Into<String>) -> Self
pub fn template_uri(self, input: impl Into<String>) -> Self
The template URI to update.
This field is required.sourcepub fn set_template_uri(self, input: Option<String>) -> Self
pub fn set_template_uri(self, input: Option<String>) -> Self
The template URI to update.
sourcepub fn get_template_uri(&self) -> &Option<String>
pub fn get_template_uri(&self) -> &Option<String>
The template URI to update.
sourcepub fn build(self) -> Result<UpdateKnowledgeBaseTemplateUriInput, BuildError>
pub fn build(self) -> Result<UpdateKnowledgeBaseTemplateUriInput, BuildError>
Consumes the builder and constructs a UpdateKnowledgeBaseTemplateUriInput.
source§impl UpdateKnowledgeBaseTemplateUriInputBuilder
impl UpdateKnowledgeBaseTemplateUriInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateKnowledgeBaseTemplateUriOutput, SdkError<UpdateKnowledgeBaseTemplateUriError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateKnowledgeBaseTemplateUriOutput, SdkError<UpdateKnowledgeBaseTemplateUriError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateKnowledgeBaseTemplateUriInputBuilder
impl Clone for UpdateKnowledgeBaseTemplateUriInputBuilder
source§fn clone(&self) -> UpdateKnowledgeBaseTemplateUriInputBuilder
fn clone(&self) -> UpdateKnowledgeBaseTemplateUriInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateKnowledgeBaseTemplateUriInputBuilder
impl Default for UpdateKnowledgeBaseTemplateUriInputBuilder
source§fn default() -> UpdateKnowledgeBaseTemplateUriInputBuilder
fn default() -> UpdateKnowledgeBaseTemplateUriInputBuilder
source§impl PartialEq for UpdateKnowledgeBaseTemplateUriInputBuilder
impl PartialEq for UpdateKnowledgeBaseTemplateUriInputBuilder
source§fn eq(&self, other: &UpdateKnowledgeBaseTemplateUriInputBuilder) -> bool
fn eq(&self, other: &UpdateKnowledgeBaseTemplateUriInputBuilder) -> bool
self and other values to be equal, and is used
by ==.