#[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
Name of the IAM group to update. If you're changing the name of the group, this is the original name.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This field is required.sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
Name of the IAM group to update. If you're changing the name of the group, this is the original name.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
Name of the IAM group to update. If you're changing the name of the group, this is the original name.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn new_path(self, input: impl Into<String>) -> Self
pub fn new_path(self, input: impl Into<String>) -> Self
New path for the IAM group. Only include this if changing the group's path.
This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
sourcepub fn set_new_path(self, input: Option<String>) -> Self
pub fn set_new_path(self, input: Option<String>) -> Self
New path for the IAM group. Only include this if changing the group's path.
This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
sourcepub fn get_new_path(&self) -> &Option<String>
pub fn get_new_path(&self) -> &Option<String>
New path for the IAM group. Only include this if changing the group's path.
This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (\u0021) through the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.
sourcepub fn new_group_name(self, input: impl Into<String>) -> Self
pub fn new_group_name(self, input: impl Into<String>) -> Self
New name for the IAM group. Only include this if changing the group's name.
IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".
sourcepub fn set_new_group_name(self, input: Option<String>) -> Self
pub fn set_new_group_name(self, input: Option<String>) -> Self
New name for the IAM group. Only include this if changing the group's name.
IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".
sourcepub fn get_new_group_name(&self) -> &Option<String>
pub fn get_new_group_name(&self) -> &Option<String>
New name for the IAM group. Only include this if changing the group's name.
IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".
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 ==.