#[non_exhaustive]pub struct AccessControlAttributeBuilder { /* private fields */ }Expand description
A builder for AccessControlAttribute.
Implementations§
source§impl AccessControlAttributeBuilder
impl AccessControlAttributeBuilder
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in IAM Identity Center.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in IAM Identity Center.
sourcepub fn value(self, input: AccessControlAttributeValue) -> Self
pub fn value(self, input: AccessControlAttributeValue) -> Self
The value used for mapping a specified attribute to an identity source.
sourcepub fn set_value(self, input: Option<AccessControlAttributeValue>) -> Self
pub fn set_value(self, input: Option<AccessControlAttributeValue>) -> Self
The value used for mapping a specified attribute to an identity source.
sourcepub fn build(self) -> AccessControlAttribute
pub fn build(self) -> AccessControlAttribute
Consumes the builder and constructs a AccessControlAttribute.
Trait Implementations§
source§impl Clone for AccessControlAttributeBuilder
impl Clone for AccessControlAttributeBuilder
source§fn clone(&self) -> AccessControlAttributeBuilder
fn clone(&self) -> AccessControlAttributeBuilder
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 Default for AccessControlAttributeBuilder
impl Default for AccessControlAttributeBuilder
source§fn default() -> AccessControlAttributeBuilder
fn default() -> AccessControlAttributeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AccessControlAttributeBuilder> for AccessControlAttributeBuilder
impl PartialEq<AccessControlAttributeBuilder> for AccessControlAttributeBuilder
source§fn eq(&self, other: &AccessControlAttributeBuilder) -> bool
fn eq(&self, other: &AccessControlAttributeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AccessControlAttributeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AccessControlAttributeBuilder
impl Send for AccessControlAttributeBuilder
impl Sync for AccessControlAttributeBuilder
impl Unpin for AccessControlAttributeBuilder
impl UnwindSafe for AccessControlAttributeBuilder
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