Struct aws_sdk_qconnect::types::builders::ContentDataDetailsBuilder
source · #[non_exhaustive]pub struct ContentDataDetailsBuilder { /* private fields */ }Expand description
A builder for ContentDataDetails.
Implementations§
source§impl ContentDataDetailsBuilder
impl ContentDataDetailsBuilder
sourcepub fn text_data(self, input: TextData) -> Self
pub fn text_data(self, input: TextData) -> Self
Details about the content text data.
This field is required.sourcepub fn set_text_data(self, input: Option<TextData>) -> Self
pub fn set_text_data(self, input: Option<TextData>) -> Self
Details about the content text data.
sourcepub fn get_text_data(&self) -> &Option<TextData>
pub fn get_text_data(&self) -> &Option<TextData>
Details about the content text data.
sourcepub fn ranking_data(self, input: RankingData) -> Self
pub fn ranking_data(self, input: RankingData) -> Self
Details about the content ranking data.
This field is required.sourcepub fn set_ranking_data(self, input: Option<RankingData>) -> Self
pub fn set_ranking_data(self, input: Option<RankingData>) -> Self
Details about the content ranking data.
sourcepub fn get_ranking_data(&self) -> &Option<RankingData>
pub fn get_ranking_data(&self) -> &Option<RankingData>
Details about the content ranking data.
sourcepub fn build(self) -> ContentDataDetails
pub fn build(self) -> ContentDataDetails
Consumes the builder and constructs a ContentDataDetails.
Trait Implementations§
source§impl Clone for ContentDataDetailsBuilder
impl Clone for ContentDataDetailsBuilder
source§fn clone(&self) -> ContentDataDetailsBuilder
fn clone(&self) -> ContentDataDetailsBuilder
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 ContentDataDetailsBuilder
impl Debug for ContentDataDetailsBuilder
source§impl Default for ContentDataDetailsBuilder
impl Default for ContentDataDetailsBuilder
source§fn default() -> ContentDataDetailsBuilder
fn default() -> ContentDataDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ContentDataDetailsBuilder
impl PartialEq for ContentDataDetailsBuilder
source§fn eq(&self, other: &ContentDataDetailsBuilder) -> bool
fn eq(&self, other: &ContentDataDetailsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContentDataDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ContentDataDetailsBuilder
impl Send for ContentDataDetailsBuilder
impl Sync for ContentDataDetailsBuilder
impl Unpin for ContentDataDetailsBuilder
impl UnwindSafe for ContentDataDetailsBuilder
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.