#[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 ==
.