Struct aws_sdk_iam::types::builders::PolicyGroupBuilder
source · #[non_exhaustive]pub struct PolicyGroupBuilder { /* private fields */ }
Expand description
A builder for PolicyGroup
.
Implementations§
source§impl PolicyGroupBuilder
impl PolicyGroupBuilder
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name (friendly name, not ARN) identifying the group.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name (friendly name, not ARN) identifying the group.
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
The name (friendly name, not ARN) identifying 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.
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 build(self) -> PolicyGroup
pub fn build(self) -> PolicyGroup
Consumes the builder and constructs a PolicyGroup
.
Trait Implementations§
source§impl Clone for PolicyGroupBuilder
impl Clone for PolicyGroupBuilder
source§fn clone(&self) -> PolicyGroupBuilder
fn clone(&self) -> PolicyGroupBuilder
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 Debug for PolicyGroupBuilder
impl Debug for PolicyGroupBuilder
source§impl Default for PolicyGroupBuilder
impl Default for PolicyGroupBuilder
source§fn default() -> PolicyGroupBuilder
fn default() -> PolicyGroupBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PolicyGroupBuilder
impl PartialEq for PolicyGroupBuilder
source§fn eq(&self, other: &PolicyGroupBuilder) -> bool
fn eq(&self, other: &PolicyGroupBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PolicyGroupBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PolicyGroupBuilder
impl Send for PolicyGroupBuilder
impl Sync for PolicyGroupBuilder
impl Unpin for PolicyGroupBuilder
impl UnwindSafe for PolicyGroupBuilder
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.