Struct aws_sdk_bedrockagent::operation::delete_knowledge_base::builders::DeleteKnowledgeBaseOutputBuilder
source · #[non_exhaustive]pub struct DeleteKnowledgeBaseOutputBuilder { /* private fields */ }Expand description
A builder for DeleteKnowledgeBaseOutput.
Implementations§
source§impl DeleteKnowledgeBaseOutputBuilder
impl DeleteKnowledgeBaseOutputBuilder
sourcepub fn knowledge_base_id(self, input: impl Into<String>) -> Self
pub fn knowledge_base_id(self, input: impl Into<String>) -> Self
Identifier for a resource. 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
Identifier for a resource.
sourcepub fn get_knowledge_base_id(&self) -> &Option<String>
pub fn get_knowledge_base_id(&self) -> &Option<String>
Identifier for a resource.
sourcepub fn status(self, input: KnowledgeBaseStatus) -> Self
pub fn status(self, input: KnowledgeBaseStatus) -> Self
The status of a knowledge base. This field is required.
sourcepub fn set_status(self, input: Option<KnowledgeBaseStatus>) -> Self
pub fn set_status(self, input: Option<KnowledgeBaseStatus>) -> Self
The status of a knowledge base.
sourcepub fn get_status(&self) -> &Option<KnowledgeBaseStatus>
pub fn get_status(&self) -> &Option<KnowledgeBaseStatus>
The status of a knowledge base.
sourcepub fn build(self) -> Result<DeleteKnowledgeBaseOutput, BuildError>
pub fn build(self) -> Result<DeleteKnowledgeBaseOutput, BuildError>
Consumes the builder and constructs a DeleteKnowledgeBaseOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DeleteKnowledgeBaseOutputBuilder
impl Clone for DeleteKnowledgeBaseOutputBuilder
source§fn clone(&self) -> DeleteKnowledgeBaseOutputBuilder
fn clone(&self) -> DeleteKnowledgeBaseOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DeleteKnowledgeBaseOutputBuilder
impl Default for DeleteKnowledgeBaseOutputBuilder
source§fn default() -> DeleteKnowledgeBaseOutputBuilder
fn default() -> DeleteKnowledgeBaseOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteKnowledgeBaseOutputBuilder
impl PartialEq for DeleteKnowledgeBaseOutputBuilder
source§fn eq(&self, other: &DeleteKnowledgeBaseOutputBuilder) -> bool
fn eq(&self, other: &DeleteKnowledgeBaseOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteKnowledgeBaseOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteKnowledgeBaseOutputBuilder
impl Send for DeleteKnowledgeBaseOutputBuilder
impl Sync for DeleteKnowledgeBaseOutputBuilder
impl Unpin for DeleteKnowledgeBaseOutputBuilder
impl UnwindSafe for DeleteKnowledgeBaseOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.