Struct aws_sdk_amplifyuibuilder::types::builders::ComponentBindingPropertiesValuePropertiesBuilder
source · #[non_exhaustive]pub struct ComponentBindingPropertiesValuePropertiesBuilder { /* private fields */ }Expand description
A builder for ComponentBindingPropertiesValueProperties.
Implementations§
source§impl ComponentBindingPropertiesValuePropertiesBuilder
impl ComponentBindingPropertiesValuePropertiesBuilder
sourcepub fn predicates(self, input: Predicate) -> Self
pub fn predicates(self, input: Predicate) -> Self
Appends an item to predicates.
To override the contents of this collection use set_predicates.
A list of predicates for binding a component's properties to data.
sourcepub fn set_predicates(self, input: Option<Vec<Predicate>>) -> Self
pub fn set_predicates(self, input: Option<Vec<Predicate>>) -> Self
A list of predicates for binding a component's properties to data.
sourcepub fn get_predicates(&self) -> &Option<Vec<Predicate>>
pub fn get_predicates(&self) -> &Option<Vec<Predicate>>
A list of predicates for binding a component's properties to data.
sourcepub fn user_attribute(self, input: impl Into<String>) -> Self
pub fn user_attribute(self, input: impl Into<String>) -> Self
An authenticated user attribute.
sourcepub fn set_user_attribute(self, input: Option<String>) -> Self
pub fn set_user_attribute(self, input: Option<String>) -> Self
An authenticated user attribute.
sourcepub fn get_user_attribute(&self) -> &Option<String>
pub fn get_user_attribute(&self) -> &Option<String>
An authenticated user attribute.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
An Amazon S3 bucket.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
An Amazon S3 bucket.
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
The default value to assign to the property.
sourcepub fn set_default_value(self, input: Option<String>) -> Self
pub fn set_default_value(self, input: Option<String>) -> Self
The default value to assign to the property.
sourcepub fn get_default_value(&self) -> &Option<String>
pub fn get_default_value(&self) -> &Option<String>
The default value to assign to the property.
sourcepub fn set_slot_name(self, input: Option<String>) -> Self
pub fn set_slot_name(self, input: Option<String>) -> Self
The name of a component slot.
sourcepub fn get_slot_name(&self) -> &Option<String>
pub fn get_slot_name(&self) -> &Option<String>
The name of a component slot.
sourcepub fn build(self) -> ComponentBindingPropertiesValueProperties
pub fn build(self) -> ComponentBindingPropertiesValueProperties
Consumes the builder and constructs a ComponentBindingPropertiesValueProperties.
Trait Implementations§
source§impl Clone for ComponentBindingPropertiesValuePropertiesBuilder
impl Clone for ComponentBindingPropertiesValuePropertiesBuilder
source§fn clone(&self) -> ComponentBindingPropertiesValuePropertiesBuilder
fn clone(&self) -> ComponentBindingPropertiesValuePropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ComponentBindingPropertiesValuePropertiesBuilder
impl Default for ComponentBindingPropertiesValuePropertiesBuilder
source§fn default() -> ComponentBindingPropertiesValuePropertiesBuilder
fn default() -> ComponentBindingPropertiesValuePropertiesBuilder
source§impl PartialEq for ComponentBindingPropertiesValuePropertiesBuilder
impl PartialEq for ComponentBindingPropertiesValuePropertiesBuilder
source§fn eq(&self, other: &ComponentBindingPropertiesValuePropertiesBuilder) -> bool
fn eq(&self, other: &ComponentBindingPropertiesValuePropertiesBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ComponentBindingPropertiesValuePropertiesBuilder
Auto Trait Implementations§
impl Freeze for ComponentBindingPropertiesValuePropertiesBuilder
impl RefUnwindSafe for ComponentBindingPropertiesValuePropertiesBuilder
impl Send for ComponentBindingPropertiesValuePropertiesBuilder
impl Sync for ComponentBindingPropertiesValuePropertiesBuilder
impl Unpin for ComponentBindingPropertiesValuePropertiesBuilder
impl UnwindSafe for ComponentBindingPropertiesValuePropertiesBuilder
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> 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