Struct aws_sdk_connect::types::builders::ViewInputContentBuilder
source · #[non_exhaustive]pub struct ViewInputContentBuilder { /* private fields */ }
Expand description
A builder for ViewInputContent
.
Implementations§
source§impl ViewInputContentBuilder
impl ViewInputContentBuilder
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) -> ViewInputContent
pub fn build(self) -> ViewInputContent
Consumes the builder and constructs a ViewInputContent
.
Trait Implementations§
source§impl Clone for ViewInputContentBuilder
impl Clone for ViewInputContentBuilder
source§fn clone(&self) -> ViewInputContentBuilder
fn clone(&self) -> ViewInputContentBuilder
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 ViewInputContentBuilder
impl Debug for ViewInputContentBuilder
source§impl Default for ViewInputContentBuilder
impl Default for ViewInputContentBuilder
source§fn default() -> ViewInputContentBuilder
fn default() -> ViewInputContentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ViewInputContentBuilder
impl PartialEq for ViewInputContentBuilder
source§fn eq(&self, other: &ViewInputContentBuilder) -> bool
fn eq(&self, other: &ViewInputContentBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ViewInputContentBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ViewInputContentBuilder
impl Send for ViewInputContentBuilder
impl Sync for ViewInputContentBuilder
impl Unpin for ViewInputContentBuilder
impl UnwindSafe for ViewInputContentBuilder
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.