#[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.
This field is required.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 get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
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.
This field is required.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 get_value(&self) -> &Option<AccessControlAttributeValue>
pub fn get_value(&self) -> &Option<AccessControlAttributeValue>
The value used for mapping a specified attribute to an identity source.
sourcepub fn build(self) -> Result<AccessControlAttribute, BuildError>
pub fn build(self) -> Result<AccessControlAttribute, BuildError>
Consumes the builder and constructs a AccessControlAttribute
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AccessControlAttributeBuilder
impl Clone for AccessControlAttributeBuilder
source§fn clone(&self) -> AccessControlAttributeBuilder
fn clone(&self) -> AccessControlAttributeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AccessControlAttributeBuilder
impl Default for AccessControlAttributeBuilder
source§fn default() -> AccessControlAttributeBuilder
fn default() -> AccessControlAttributeBuilder
source§impl PartialEq for AccessControlAttributeBuilder
impl PartialEq for AccessControlAttributeBuilder
source§fn eq(&self, other: &AccessControlAttributeBuilder) -> bool
fn eq(&self, other: &AccessControlAttributeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccessControlAttributeBuilder
Auto Trait Implementations§
impl Freeze for AccessControlAttributeBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more