Struct aws_sdk_quicksight::types::builders::SheetTextBoxBuilder
source · #[non_exhaustive]pub struct SheetTextBoxBuilder { /* private fields */ }
Expand description
A builder for SheetTextBox
.
Implementations§
source§impl SheetTextBoxBuilder
impl SheetTextBoxBuilder
sourcepub fn sheet_text_box_id(self, input: impl Into<String>) -> Self
pub fn sheet_text_box_id(self, input: impl Into<String>) -> Self
The unique identifier for a text box. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers.
This field is required.sourcepub fn set_sheet_text_box_id(self, input: Option<String>) -> Self
pub fn set_sheet_text_box_id(self, input: Option<String>) -> Self
The unique identifier for a text box. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers.
sourcepub fn get_sheet_text_box_id(&self) -> &Option<String>
pub fn get_sheet_text_box_id(&self) -> &Option<String>
The unique identifier for a text box. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers.
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The content that is displayed in the text box.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The content that is displayed in the text box.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
The content that is displayed in the text box.
sourcepub fn build(self) -> Result<SheetTextBox, BuildError>
pub fn build(self) -> Result<SheetTextBox, BuildError>
Consumes the builder and constructs a SheetTextBox
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SheetTextBoxBuilder
impl Clone for SheetTextBoxBuilder
source§fn clone(&self) -> SheetTextBoxBuilder
fn clone(&self) -> SheetTextBoxBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SheetTextBoxBuilder
impl Debug for SheetTextBoxBuilder
source§impl Default for SheetTextBoxBuilder
impl Default for SheetTextBoxBuilder
source§fn default() -> SheetTextBoxBuilder
fn default() -> SheetTextBoxBuilder
source§impl PartialEq for SheetTextBoxBuilder
impl PartialEq for SheetTextBoxBuilder
impl StructuralPartialEq for SheetTextBoxBuilder
Auto Trait Implementations§
impl Freeze for SheetTextBoxBuilder
impl RefUnwindSafe for SheetTextBoxBuilder
impl Send for SheetTextBoxBuilder
impl Sync for SheetTextBoxBuilder
impl Unpin for SheetTextBoxBuilder
impl UnwindSafe for SheetTextBoxBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more