Struct aws_sdk_cognitoidentityprovider::operation::update_group::builders::UpdateGroupInputBuilder
source · #[non_exhaustive]pub struct UpdateGroupInputBuilder { /* private fields */ }
Expand description
A builder for UpdateGroupInput
.
Implementations§
source§impl UpdateGroupInputBuilder
impl UpdateGroupInputBuilder
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the group.
This field is required.sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name of the group.
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
The name of the group.
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.
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.
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.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A string containing the new description of the group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A string containing the new description of the group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A string containing the new description of the group.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The new role Amazon Resource Name (ARN) for the group. This is used for setting the cognito:roles
and cognito:preferred_role
claims in the token.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The new role Amazon Resource Name (ARN) for the group. This is used for setting the cognito:roles
and cognito:preferred_role
claims in the token.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The new role Amazon Resource Name (ARN) for the group. This is used for setting the cognito:roles
and cognito:preferred_role
claims in the token.
sourcepub fn precedence(self, input: i32) -> Self
pub fn precedence(self, input: i32) -> Self
The new precedence value for the group. For more information about this parameter, see CreateGroup.
sourcepub fn set_precedence(self, input: Option<i32>) -> Self
pub fn set_precedence(self, input: Option<i32>) -> Self
The new precedence value for the group. For more information about this parameter, see CreateGroup.
sourcepub fn get_precedence(&self) -> &Option<i32>
pub fn get_precedence(&self) -> &Option<i32>
The new precedence value for the group. For more information about this parameter, see CreateGroup.
sourcepub fn build(self) -> Result<UpdateGroupInput, BuildError>
pub fn build(self) -> Result<UpdateGroupInput, BuildError>
Consumes the builder and constructs a UpdateGroupInput
.
source§impl UpdateGroupInputBuilder
impl UpdateGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateGroupOutput, SdkError<UpdateGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateGroupOutput, SdkError<UpdateGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateGroupInputBuilder
impl Clone for UpdateGroupInputBuilder
source§fn clone(&self) -> UpdateGroupInputBuilder
fn clone(&self) -> UpdateGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateGroupInputBuilder
impl Debug for UpdateGroupInputBuilder
source§impl Default for UpdateGroupInputBuilder
impl Default for UpdateGroupInputBuilder
source§fn default() -> UpdateGroupInputBuilder
fn default() -> UpdateGroupInputBuilder
source§impl PartialEq for UpdateGroupInputBuilder
impl PartialEq for UpdateGroupInputBuilder
source§fn eq(&self, other: &UpdateGroupInputBuilder) -> bool
fn eq(&self, other: &UpdateGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateGroupInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateGroupInputBuilder
impl RefUnwindSafe for UpdateGroupInputBuilder
impl Send for UpdateGroupInputBuilder
impl Sync for UpdateGroupInputBuilder
impl Unpin for UpdateGroupInputBuilder
impl UnwindSafe for UpdateGroupInputBuilder
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