Struct aws_sdk_bedrockagent::operation::update_agent_knowledge_base::builders::UpdateAgentKnowledgeBaseFluentBuilder
source · pub struct UpdateAgentKnowledgeBaseFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateAgentKnowledgeBase.
Updates an existing Knowledge Base associated to an Amazon Bedrock Agent
Implementations§
source§impl UpdateAgentKnowledgeBaseFluentBuilder
impl UpdateAgentKnowledgeBaseFluentBuilder
sourcepub fn as_input(&self) -> &UpdateAgentKnowledgeBaseInputBuilder
pub fn as_input(&self) -> &UpdateAgentKnowledgeBaseInputBuilder
Access the UpdateAgentKnowledgeBase as a reference.
sourcepub async fn send(
self
) -> Result<UpdateAgentKnowledgeBaseOutput, SdkError<UpdateAgentKnowledgeBaseError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateAgentKnowledgeBaseOutput, SdkError<UpdateAgentKnowledgeBaseError, 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<UpdateAgentKnowledgeBaseOutput, UpdateAgentKnowledgeBaseError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateAgentKnowledgeBaseOutput, UpdateAgentKnowledgeBaseError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn agent_id(self, input: impl Into<String>) -> Self
pub fn agent_id(self, input: impl Into<String>) -> Self
Id generated at the server side when an Agent is created
sourcepub fn set_agent_id(self, input: Option<String>) -> Self
pub fn set_agent_id(self, input: Option<String>) -> Self
Id generated at the server side when an Agent is created
sourcepub fn get_agent_id(&self) -> &Option<String>
pub fn get_agent_id(&self) -> &Option<String>
Id generated at the server side when an Agent is created
sourcepub fn agent_version(self, input: impl Into<String>) -> Self
pub fn agent_version(self, input: impl Into<String>) -> Self
Draft Version of the Agent.
sourcepub fn set_agent_version(self, input: Option<String>) -> Self
pub fn set_agent_version(self, input: Option<String>) -> Self
Draft Version of the Agent.
sourcepub fn get_agent_version(&self) -> &Option<String>
pub fn get_agent_version(&self) -> &Option<String>
Draft Version of the Agent.
sourcepub fn knowledge_base_id(self, input: impl Into<String>) -> Self
pub fn knowledge_base_id(self, input: impl Into<String>) -> Self
Id generated at the server side when a Knowledge Base is associated to an Agent
sourcepub fn set_knowledge_base_id(self, input: Option<String>) -> Self
pub fn set_knowledge_base_id(self, input: Option<String>) -> Self
Id generated at the server side when a Knowledge Base is associated to an Agent
sourcepub fn get_knowledge_base_id(&self) -> &Option<String>
pub fn get_knowledge_base_id(&self) -> &Option<String>
Id generated at the server side when a Knowledge Base is associated to an Agent
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Description of the Resource.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Description of the Resource.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Description of the Resource.
sourcepub fn knowledge_base_state(self, input: KnowledgeBaseState) -> Self
pub fn knowledge_base_state(self, input: KnowledgeBaseState) -> Self
State of the knowledge base; whether it is enabled or disabled
sourcepub fn set_knowledge_base_state(self, input: Option<KnowledgeBaseState>) -> Self
pub fn set_knowledge_base_state(self, input: Option<KnowledgeBaseState>) -> Self
State of the knowledge base; whether it is enabled or disabled
sourcepub fn get_knowledge_base_state(&self) -> &Option<KnowledgeBaseState>
pub fn get_knowledge_base_state(&self) -> &Option<KnowledgeBaseState>
State of the knowledge base; whether it is enabled or disabled
Trait Implementations§
source§impl Clone for UpdateAgentKnowledgeBaseFluentBuilder
impl Clone for UpdateAgentKnowledgeBaseFluentBuilder
source§fn clone(&self) -> UpdateAgentKnowledgeBaseFluentBuilder
fn clone(&self) -> UpdateAgentKnowledgeBaseFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more