Struct aws_sdk_qbusiness::operation::get_chat_controls_configuration::builders::GetChatControlsConfigurationOutputBuilder
source · #[non_exhaustive]pub struct GetChatControlsConfigurationOutputBuilder { /* private fields */ }Expand description
A builder for GetChatControlsConfigurationOutput.
Implementations§
source§impl GetChatControlsConfigurationOutputBuilder
impl GetChatControlsConfigurationOutputBuilder
sourcepub fn response_scope(self, input: ResponseScope) -> Self
pub fn response_scope(self, input: ResponseScope) -> Self
The response scope configured for a Amazon Q 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 a Amazon Q 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 a Amazon Q 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(self, input: BlockedPhrasesConfiguration) -> Self
pub fn blocked_phrases(self, input: BlockedPhrasesConfiguration) -> Self
The phrases blocked from chat by your chat control configuration.
sourcepub fn set_blocked_phrases(
self,
input: Option<BlockedPhrasesConfiguration>
) -> Self
pub fn set_blocked_phrases( self, input: Option<BlockedPhrasesConfiguration> ) -> Self
The phrases blocked from chat by your chat control configuration.
sourcepub fn get_blocked_phrases(&self) -> &Option<BlockedPhrasesConfiguration>
pub fn get_blocked_phrases(&self) -> &Option<BlockedPhrasesConfiguration>
The phrases blocked from chat by your chat control configuration.
sourcepub fn topic_configurations(self, input: TopicConfiguration) -> Self
pub fn topic_configurations(self, input: TopicConfiguration) -> Self
Appends an item to topic_configurations.
To override the contents of this collection use set_topic_configurations.
The topic specific controls configured for a Amazon Q application.
sourcepub fn set_topic_configurations(
self,
input: Option<Vec<TopicConfiguration>>
) -> Self
pub fn set_topic_configurations( self, input: Option<Vec<TopicConfiguration>> ) -> Self
The topic specific controls configured for a Amazon Q application.
sourcepub fn get_topic_configurations(&self) -> &Option<Vec<TopicConfiguration>>
pub fn get_topic_configurations(&self) -> &Option<Vec<TopicConfiguration>>
The topic specific controls configured for a Amazon Q application.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q chat controls configured.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q chat controls configured.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q chat controls configured.
sourcepub fn build(self) -> GetChatControlsConfigurationOutput
pub fn build(self) -> GetChatControlsConfigurationOutput
Consumes the builder and constructs a GetChatControlsConfigurationOutput.
Trait Implementations§
source§impl Clone for GetChatControlsConfigurationOutputBuilder
impl Clone for GetChatControlsConfigurationOutputBuilder
source§fn clone(&self) -> GetChatControlsConfigurationOutputBuilder
fn clone(&self) -> GetChatControlsConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetChatControlsConfigurationOutputBuilder
impl Default for GetChatControlsConfigurationOutputBuilder
source§fn default() -> GetChatControlsConfigurationOutputBuilder
fn default() -> GetChatControlsConfigurationOutputBuilder
source§impl PartialEq for GetChatControlsConfigurationOutputBuilder
impl PartialEq for GetChatControlsConfigurationOutputBuilder
source§fn eq(&self, other: &GetChatControlsConfigurationOutputBuilder) -> bool
fn eq(&self, other: &GetChatControlsConfigurationOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.