Struct aws_sdk_cognitoidentityprovider::types::builders::StringAttributeConstraintsTypeBuilder
source · #[non_exhaustive]pub struct StringAttributeConstraintsTypeBuilder { /* private fields */ }Expand description
A builder for StringAttributeConstraintsType.
Implementations§
source§impl StringAttributeConstraintsTypeBuilder
impl StringAttributeConstraintsTypeBuilder
sourcepub fn min_length(self, input: impl Into<String>) -> Self
pub fn min_length(self, input: impl Into<String>) -> Self
The minimum length.
sourcepub fn set_min_length(self, input: Option<String>) -> Self
pub fn set_min_length(self, input: Option<String>) -> Self
The minimum length.
sourcepub fn get_min_length(&self) -> &Option<String>
pub fn get_min_length(&self) -> &Option<String>
The minimum length.
sourcepub fn max_length(self, input: impl Into<String>) -> Self
pub fn max_length(self, input: impl Into<String>) -> Self
The maximum length.
sourcepub fn set_max_length(self, input: Option<String>) -> Self
pub fn set_max_length(self, input: Option<String>) -> Self
The maximum length.
sourcepub fn get_max_length(&self) -> &Option<String>
pub fn get_max_length(&self) -> &Option<String>
The maximum length.
sourcepub fn build(self) -> StringAttributeConstraintsType
pub fn build(self) -> StringAttributeConstraintsType
Consumes the builder and constructs a StringAttributeConstraintsType.
Trait Implementations§
source§impl Clone for StringAttributeConstraintsTypeBuilder
impl Clone for StringAttributeConstraintsTypeBuilder
source§fn clone(&self) -> StringAttributeConstraintsTypeBuilder
fn clone(&self) -> StringAttributeConstraintsTypeBuilder
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 Default for StringAttributeConstraintsTypeBuilder
impl Default for StringAttributeConstraintsTypeBuilder
source§fn default() -> StringAttributeConstraintsTypeBuilder
fn default() -> StringAttributeConstraintsTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StringAttributeConstraintsTypeBuilder
impl PartialEq for StringAttributeConstraintsTypeBuilder
source§fn eq(&self, other: &StringAttributeConstraintsTypeBuilder) -> bool
fn eq(&self, other: &StringAttributeConstraintsTypeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StringAttributeConstraintsTypeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for StringAttributeConstraintsTypeBuilder
impl Send for StringAttributeConstraintsTypeBuilder
impl Sync for StringAttributeConstraintsTypeBuilder
impl Unpin for StringAttributeConstraintsTypeBuilder
impl UnwindSafe for StringAttributeConstraintsTypeBuilder
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.