Struct aws_sdk_iam::types::builders::GroupBuilder
source · #[non_exhaustive]pub struct GroupBuilder { /* private fields */ }
Expand description
A builder for Group
.
Implementations§
source§impl GroupBuilder
impl GroupBuilder
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 field is required.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.
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.
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The friendly name that identifies 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 friendly name that identifies the group.
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
The friendly name that identifies the group.
sourcepub fn group_id(self, input: impl Into<String>) -> Self
pub fn group_id(self, input: impl Into<String>) -> Self
The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
This field is required.sourcepub fn set_group_id(self, input: Option<String>) -> Self
pub fn set_group_id(self, input: Option<String>) -> Self
The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
sourcepub fn get_group_id(&self) -> &Option<String>
pub fn get_group_id(&self) -> &Option<String>
The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
sourcepub fn create_date(self, input: DateTime) -> Self
pub fn create_date(self, input: DateTime) -> Self
The date and time, in ISO 8601 date-time format, when the group was created.
This field is required.sourcepub fn set_create_date(self, input: Option<DateTime>) -> Self
pub fn set_create_date(self, input: Option<DateTime>) -> Self
The date and time, in ISO 8601 date-time format, when the group was created.
sourcepub fn get_create_date(&self) -> &Option<DateTime>
pub fn get_create_date(&self) -> &Option<DateTime>
The date and time, in ISO 8601 date-time format, when the group was created.
Trait Implementations§
source§impl Clone for GroupBuilder
impl Clone for GroupBuilder
source§fn clone(&self) -> GroupBuilder
fn clone(&self) -> GroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GroupBuilder
impl Debug for GroupBuilder
source§impl Default for GroupBuilder
impl Default for GroupBuilder
source§fn default() -> GroupBuilder
fn default() -> GroupBuilder
source§impl PartialEq for GroupBuilder
impl PartialEq for GroupBuilder
source§fn eq(&self, other: &GroupBuilder) -> bool
fn eq(&self, other: &GroupBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.