#[non_exhaustive]pub struct CreateGroupInputBuilder { /* private fields */ }Expand description
A builder for CreateGroupInput.
Implementations§
source§impl CreateGroupInputBuilder
impl CreateGroupInputBuilder
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
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_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
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_path(&self) -> &Option<String>
pub fn get_path(&self) -> &Option<String>
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
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 group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the group to create. Do not include the path in this value.
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".
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 to create. Do not include the path in this value.
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_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
The name of the group to create. Do not include the path in this value.
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<CreateGroupInput, BuildError>
pub fn build(self) -> Result<CreateGroupInput, BuildError>
Consumes the builder and constructs a CreateGroupInput.
source§impl CreateGroupInputBuilder
impl CreateGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateGroupOutput, SdkError<CreateGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateGroupOutput, SdkError<CreateGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateGroupInputBuilder
impl Clone for CreateGroupInputBuilder
source§fn clone(&self) -> CreateGroupInputBuilder
fn clone(&self) -> CreateGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateGroupInputBuilder
impl Debug for CreateGroupInputBuilder
source§impl Default for CreateGroupInputBuilder
impl Default for CreateGroupInputBuilder
source§fn default() -> CreateGroupInputBuilder
fn default() -> CreateGroupInputBuilder
source§impl PartialEq for CreateGroupInputBuilder
impl PartialEq for CreateGroupInputBuilder
source§fn eq(&self, other: &CreateGroupInputBuilder) -> bool
fn eq(&self, other: &CreateGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.