Struct aws_sdk_bedrockagent::operation::update_agent_knowledge_base::builders::UpdateAgentKnowledgeBaseInputBuilder
source · #[non_exhaustive]pub struct UpdateAgentKnowledgeBaseInputBuilder { /* private fields */ }Expand description
A builder for UpdateAgentKnowledgeBaseInput.
Implementations§
source§impl UpdateAgentKnowledgeBaseInputBuilder
impl UpdateAgentKnowledgeBaseInputBuilder
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 This field is required.
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. This field is required.
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 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
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
sourcepub fn build(self) -> Result<UpdateAgentKnowledgeBaseInput, BuildError>
pub fn build(self) -> Result<UpdateAgentKnowledgeBaseInput, BuildError>
Consumes the builder and constructs a UpdateAgentKnowledgeBaseInput.
source§impl UpdateAgentKnowledgeBaseInputBuilder
impl UpdateAgentKnowledgeBaseInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAgentKnowledgeBaseOutput, SdkError<UpdateAgentKnowledgeBaseError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAgentKnowledgeBaseOutput, SdkError<UpdateAgentKnowledgeBaseError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAgentKnowledgeBaseInputBuilder
impl Clone for UpdateAgentKnowledgeBaseInputBuilder
source§fn clone(&self) -> UpdateAgentKnowledgeBaseInputBuilder
fn clone(&self) -> UpdateAgentKnowledgeBaseInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateAgentKnowledgeBaseInputBuilder
impl Default for UpdateAgentKnowledgeBaseInputBuilder
source§fn default() -> UpdateAgentKnowledgeBaseInputBuilder
fn default() -> UpdateAgentKnowledgeBaseInputBuilder
source§impl PartialEq for UpdateAgentKnowledgeBaseInputBuilder
impl PartialEq for UpdateAgentKnowledgeBaseInputBuilder
source§fn eq(&self, other: &UpdateAgentKnowledgeBaseInputBuilder) -> bool
fn eq(&self, other: &UpdateAgentKnowledgeBaseInputBuilder) -> bool
self and other values to be equal, and is used
by ==.