Struct aws_sdk_qconnect::types::builders::DocumentBuilder
source · #[non_exhaustive]pub struct DocumentBuilder { /* private fields */ }Expand description
A builder for Document.
Implementations§
source§impl DocumentBuilder
impl DocumentBuilder
sourcepub fn content_reference(self, input: ContentReference) -> Self
pub fn content_reference(self, input: ContentReference) -> Self
A reference to the content resource.
This field is required.sourcepub fn set_content_reference(self, input: Option<ContentReference>) -> Self
pub fn set_content_reference(self, input: Option<ContentReference>) -> Self
A reference to the content resource.
sourcepub fn get_content_reference(&self) -> &Option<ContentReference>
pub fn get_content_reference(&self) -> &Option<ContentReference>
A reference to the content resource.
sourcepub fn title(self, input: DocumentText) -> Self
pub fn title(self, input: DocumentText) -> Self
The title of the document.
sourcepub fn set_title(self, input: Option<DocumentText>) -> Self
pub fn set_title(self, input: Option<DocumentText>) -> Self
The title of the document.
sourcepub fn get_title(&self) -> &Option<DocumentText>
pub fn get_title(&self) -> &Option<DocumentText>
The title of the document.
sourcepub fn excerpt(self, input: DocumentText) -> Self
pub fn excerpt(self, input: DocumentText) -> Self
The excerpt from the document.
sourcepub fn set_excerpt(self, input: Option<DocumentText>) -> Self
pub fn set_excerpt(self, input: Option<DocumentText>) -> Self
The excerpt from the document.
sourcepub fn get_excerpt(&self) -> &Option<DocumentText>
pub fn get_excerpt(&self) -> &Option<DocumentText>
The excerpt from the document.
Trait Implementations§
source§impl Clone for DocumentBuilder
impl Clone for DocumentBuilder
source§fn clone(&self) -> DocumentBuilder
fn clone(&self) -> DocumentBuilder
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 Debug for DocumentBuilder
impl Debug for DocumentBuilder
source§impl Default for DocumentBuilder
impl Default for DocumentBuilder
source§fn default() -> DocumentBuilder
fn default() -> DocumentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DocumentBuilder
impl PartialEq for DocumentBuilder
source§fn eq(&self, other: &DocumentBuilder) -> bool
fn eq(&self, other: &DocumentBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DocumentBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DocumentBuilder
impl Send for DocumentBuilder
impl Sync for DocumentBuilder
impl Unpin for DocumentBuilder
impl UnwindSafe for DocumentBuilder
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.