Struct aws_sdk_cognitoidentityprovider::operation::add_custom_attributes::builders::AddCustomAttributesInputBuilder
source · #[non_exhaustive]pub struct AddCustomAttributesInputBuilder { /* private fields */ }Expand description
A builder for AddCustomAttributesInput.
Implementations§
source§impl AddCustomAttributesInputBuilder
impl AddCustomAttributesInputBuilder
sourcepub fn user_pool_id(self, input: impl Into<String>) -> Self
pub fn user_pool_id(self, input: impl Into<String>) -> Self
The user pool ID for the user pool where you want to add custom attributes.
This field is required.sourcepub fn set_user_pool_id(self, input: Option<String>) -> Self
pub fn set_user_pool_id(self, input: Option<String>) -> Self
The user pool ID for the user pool where you want to add custom attributes.
sourcepub fn get_user_pool_id(&self) -> &Option<String>
pub fn get_user_pool_id(&self) -> &Option<String>
The user pool ID for the user pool where you want to add custom attributes.
sourcepub fn custom_attributes(self, input: SchemaAttributeType) -> Self
pub fn custom_attributes(self, input: SchemaAttributeType) -> Self
Appends an item to custom_attributes.
To override the contents of this collection use set_custom_attributes.
An array of custom attributes, such as Mutable and Name.
sourcepub fn set_custom_attributes(
self,
input: Option<Vec<SchemaAttributeType>>
) -> Self
pub fn set_custom_attributes( self, input: Option<Vec<SchemaAttributeType>> ) -> Self
An array of custom attributes, such as Mutable and Name.
sourcepub fn get_custom_attributes(&self) -> &Option<Vec<SchemaAttributeType>>
pub fn get_custom_attributes(&self) -> &Option<Vec<SchemaAttributeType>>
An array of custom attributes, such as Mutable and Name.
sourcepub fn build(self) -> Result<AddCustomAttributesInput, BuildError>
pub fn build(self) -> Result<AddCustomAttributesInput, BuildError>
Consumes the builder and constructs a AddCustomAttributesInput.
source§impl AddCustomAttributesInputBuilder
impl AddCustomAttributesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AddCustomAttributesOutput, SdkError<AddCustomAttributesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AddCustomAttributesOutput, SdkError<AddCustomAttributesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddCustomAttributesInputBuilder
impl Clone for AddCustomAttributesInputBuilder
source§fn clone(&self) -> AddCustomAttributesInputBuilder
fn clone(&self) -> AddCustomAttributesInputBuilder
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 AddCustomAttributesInputBuilder
impl Default for AddCustomAttributesInputBuilder
source§fn default() -> AddCustomAttributesInputBuilder
fn default() -> AddCustomAttributesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AddCustomAttributesInputBuilder
impl PartialEq for AddCustomAttributesInputBuilder
source§fn eq(&self, other: &AddCustomAttributesInputBuilder) -> bool
fn eq(&self, other: &AddCustomAttributesInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddCustomAttributesInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AddCustomAttributesInputBuilder
impl Send for AddCustomAttributesInputBuilder
impl Sync for AddCustomAttributesInputBuilder
impl Unpin for AddCustomAttributesInputBuilder
impl UnwindSafe for AddCustomAttributesInputBuilder
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.