Struct aws_sdk_qbusiness::operation::update_chat_controls_configuration::builders::UpdateChatControlsConfigurationFluentBuilder
source · pub struct UpdateChatControlsConfigurationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateChatControlsConfiguration.
Updates an set of chat controls configured for an existing Amazon Q Business application.
Implementations§
source§impl UpdateChatControlsConfigurationFluentBuilder
impl UpdateChatControlsConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateChatControlsConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateChatControlsConfigurationInputBuilder
Access the UpdateChatControlsConfiguration as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateChatControlsConfigurationOutput, SdkError<UpdateChatControlsConfigurationError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateChatControlsConfigurationOutput, SdkError<UpdateChatControlsConfigurationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<UpdateChatControlsConfigurationOutput, UpdateChatControlsConfigurationError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateChatControlsConfigurationOutput, UpdateChatControlsConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 Business 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 Business 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 Business 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 topicConfigurationsToCreateOrUpdate.
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 topicConfigurationsToDelete.
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 creator_mode_configuration(self, input: CreatorModeConfiguration) -> Self
pub fn creator_mode_configuration(self, input: CreatorModeConfiguration) -> Self
The configuration details for CREATOR_MODE.
sourcepub fn set_creator_mode_configuration(
self,
input: Option<CreatorModeConfiguration>,
) -> Self
pub fn set_creator_mode_configuration( self, input: Option<CreatorModeConfiguration>, ) -> Self
The configuration details for CREATOR_MODE.
sourcepub fn get_creator_mode_configuration(
&self,
) -> &Option<CreatorModeConfiguration>
pub fn get_creator_mode_configuration( &self, ) -> &Option<CreatorModeConfiguration>
The configuration details for CREATOR_MODE.
Trait Implementations§
source§impl Clone for UpdateChatControlsConfigurationFluentBuilder
impl Clone for UpdateChatControlsConfigurationFluentBuilder
source§fn clone(&self) -> UpdateChatControlsConfigurationFluentBuilder
fn clone(&self) -> UpdateChatControlsConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateChatControlsConfigurationFluentBuilder
impl !RefUnwindSafe for UpdateChatControlsConfigurationFluentBuilder
impl Send for UpdateChatControlsConfigurationFluentBuilder
impl Sync for UpdateChatControlsConfigurationFluentBuilder
impl Unpin for UpdateChatControlsConfigurationFluentBuilder
impl !UnwindSafe for UpdateChatControlsConfigurationFluentBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more