Struct aws_sdk_connect::types::builders::ViewContentBuilder
source · #[non_exhaustive]pub struct ViewContentBuilder { /* private fields */ }
Expand description
A builder for ViewContent
.
Implementations§
source§impl ViewContentBuilder
impl ViewContentBuilder
sourcepub fn input_schema(self, input: impl Into<String>) -> Self
pub fn input_schema(self, input: impl Into<String>) -> Self
The data schema matching data that the view template must be provided to render.
sourcepub fn set_input_schema(self, input: Option<String>) -> Self
pub fn set_input_schema(self, input: Option<String>) -> Self
The data schema matching data that the view template must be provided to render.
sourcepub fn get_input_schema(&self) -> &Option<String>
pub fn get_input_schema(&self) -> &Option<String>
The data schema matching data that the view template must be provided to render.
sourcepub fn template(self, input: impl Into<String>) -> Self
pub fn template(self, input: impl Into<String>) -> Self
The view template representing the structure of the view.
sourcepub fn set_template(self, input: Option<String>) -> Self
pub fn set_template(self, input: Option<String>) -> Self
The view template representing the structure of the view.
sourcepub fn get_template(&self) -> &Option<String>
pub fn get_template(&self) -> &Option<String>
The view template representing the structure of the view.
sourcepub fn actions(self, input: impl Into<String>) -> Self
pub fn actions(self, input: impl Into<String>) -> Self
Appends an item to actions
.
To override the contents of this collection use set_actions
.
A list of possible actions from the view.
sourcepub fn set_actions(self, input: Option<Vec<String>>) -> Self
pub fn set_actions(self, input: Option<Vec<String>>) -> Self
A list of possible actions from the view.
sourcepub fn get_actions(&self) -> &Option<Vec<String>>
pub fn get_actions(&self) -> &Option<Vec<String>>
A list of possible actions from the view.
sourcepub fn build(self) -> ViewContent
pub fn build(self) -> ViewContent
Consumes the builder and constructs a ViewContent
.
Trait Implementations§
source§impl Clone for ViewContentBuilder
impl Clone for ViewContentBuilder
source§fn clone(&self) -> ViewContentBuilder
fn clone(&self) -> ViewContentBuilder
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 ViewContentBuilder
impl Debug for ViewContentBuilder
source§impl Default for ViewContentBuilder
impl Default for ViewContentBuilder
source§fn default() -> ViewContentBuilder
fn default() -> ViewContentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ViewContentBuilder
impl PartialEq for ViewContentBuilder
source§fn eq(&self, other: &ViewContentBuilder) -> bool
fn eq(&self, other: &ViewContentBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ViewContentBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ViewContentBuilder
impl Send for ViewContentBuilder
impl Sync for ViewContentBuilder
impl Unpin for ViewContentBuilder
impl UnwindSafe for ViewContentBuilder
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.