Struct aws_sdk_qbusiness::operation::update_chat_controls_configuration::builders::UpdateChatControlsConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateChatControlsConfigurationInputBuilder { /* private fields */ }Expand description
A builder for UpdateChatControlsConfigurationInput.
Implementations§
source§impl UpdateChatControlsConfigurationInputBuilder
impl UpdateChatControlsConfigurationInputBuilder
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The identifier of the application for which the chat controls are configured.
This field is required.sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The identifier of the application for which the chat controls are configured.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The identifier of the application for which the chat controls are configured.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A token that you provide to identify the request to update a Amazon Q application chat configuration.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A token that you provide to identify the request to update a Amazon Q application chat configuration.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A token that you provide to identify the request to update a Amazon Q application chat configuration.
sourcepub fn response_scope(self, input: ResponseScope) -> Self
pub fn response_scope(self, input: ResponseScope) -> Self
The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.
sourcepub fn set_response_scope(self, input: Option<ResponseScope>) -> Self
pub fn set_response_scope(self, input: Option<ResponseScope>) -> Self
The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.
sourcepub fn get_response_scope(&self) -> &Option<ResponseScope>
pub fn get_response_scope(&self) -> &Option<ResponseScope>
The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.
sourcepub fn blocked_phrases_configuration_update(
self,
input: BlockedPhrasesConfigurationUpdate
) -> Self
pub fn blocked_phrases_configuration_update( self, input: BlockedPhrasesConfigurationUpdate ) -> Self
The phrases blocked from chat by your chat control configuration.
sourcepub fn set_blocked_phrases_configuration_update(
self,
input: Option<BlockedPhrasesConfigurationUpdate>
) -> Self
pub fn set_blocked_phrases_configuration_update( self, input: Option<BlockedPhrasesConfigurationUpdate> ) -> Self
The phrases blocked from chat by your chat control configuration.
sourcepub fn get_blocked_phrases_configuration_update(
&self
) -> &Option<BlockedPhrasesConfigurationUpdate>
pub fn get_blocked_phrases_configuration_update( &self ) -> &Option<BlockedPhrasesConfigurationUpdate>
The phrases blocked from chat by your chat control configuration.
sourcepub fn topic_configurations_to_create_or_update(
self,
input: TopicConfiguration
) -> Self
pub fn topic_configurations_to_create_or_update( self, input: TopicConfiguration ) -> Self
Appends an item to topic_configurations_to_create_or_update.
To override the contents of this collection use set_topic_configurations_to_create_or_update.
The configured topic specific chat controls you want to update.
sourcepub fn set_topic_configurations_to_create_or_update(
self,
input: Option<Vec<TopicConfiguration>>
) -> Self
pub fn set_topic_configurations_to_create_or_update( self, input: Option<Vec<TopicConfiguration>> ) -> Self
The configured topic specific chat controls you want to update.
sourcepub fn get_topic_configurations_to_create_or_update(
&self
) -> &Option<Vec<TopicConfiguration>>
pub fn get_topic_configurations_to_create_or_update( &self ) -> &Option<Vec<TopicConfiguration>>
The configured topic specific chat controls you want to update.
sourcepub fn topic_configurations_to_delete(self, input: TopicConfiguration) -> Self
pub fn topic_configurations_to_delete(self, input: TopicConfiguration) -> Self
Appends an item to topic_configurations_to_delete.
To override the contents of this collection use set_topic_configurations_to_delete.
The configured topic specific chat controls you want to delete.
sourcepub fn set_topic_configurations_to_delete(
self,
input: Option<Vec<TopicConfiguration>>
) -> Self
pub fn set_topic_configurations_to_delete( self, input: Option<Vec<TopicConfiguration>> ) -> Self
The configured topic specific chat controls you want to delete.
sourcepub fn get_topic_configurations_to_delete(
&self
) -> &Option<Vec<TopicConfiguration>>
pub fn get_topic_configurations_to_delete( &self ) -> &Option<Vec<TopicConfiguration>>
The configured topic specific chat controls you want to delete.
sourcepub fn build(self) -> Result<UpdateChatControlsConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateChatControlsConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateChatControlsConfigurationInput.
source§impl UpdateChatControlsConfigurationInputBuilder
impl UpdateChatControlsConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateChatControlsConfigurationOutput, SdkError<UpdateChatControlsConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateChatControlsConfigurationOutput, SdkError<UpdateChatControlsConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateChatControlsConfigurationInputBuilder
impl Clone for UpdateChatControlsConfigurationInputBuilder
source§fn clone(&self) -> UpdateChatControlsConfigurationInputBuilder
fn clone(&self) -> UpdateChatControlsConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateChatControlsConfigurationInputBuilder
impl Default for UpdateChatControlsConfigurationInputBuilder
source§fn default() -> UpdateChatControlsConfigurationInputBuilder
fn default() -> UpdateChatControlsConfigurationInputBuilder
source§impl PartialEq for UpdateChatControlsConfigurationInputBuilder
impl PartialEq for UpdateChatControlsConfigurationInputBuilder
source§fn eq(&self, other: &UpdateChatControlsConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateChatControlsConfigurationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.