#[non_exhaustive]pub struct EntitlementAttributeBuilder { /* private fields */ }
Expand description
A builder for EntitlementAttribute
.
Implementations§
source§impl EntitlementAttributeBuilder
impl EntitlementAttributeBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A supported AWS IAM SAML PrincipalTag
attribute that is matched to the associated value when a user identity federates into an Amazon AppStream 2.0 SAML application.
The following are valid values:
-
roles
-
department
-
organization
-
groups
-
title
-
costCenter
-
userType
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A supported AWS IAM SAML PrincipalTag
attribute that is matched to the associated value when a user identity federates into an Amazon AppStream 2.0 SAML application.
The following are valid values:
-
roles
-
department
-
organization
-
groups
-
title
-
costCenter
-
userType
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A supported AWS IAM SAML PrincipalTag
attribute that is matched to the associated value when a user identity federates into an Amazon AppStream 2.0 SAML application.
The following are valid values:
-
roles
-
department
-
organization
-
groups
-
title
-
costCenter
-
userType
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
A value that is matched to a supported SAML attribute name when a user identity federates into an Amazon AppStream 2.0 SAML application.
This field is required.sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
A value that is matched to a supported SAML attribute name when a user identity federates into an Amazon AppStream 2.0 SAML application.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
A value that is matched to a supported SAML attribute name when a user identity federates into an Amazon AppStream 2.0 SAML application.
sourcepub fn build(self) -> EntitlementAttribute
pub fn build(self) -> EntitlementAttribute
Consumes the builder and constructs a EntitlementAttribute
.
Trait Implementations§
source§impl Clone for EntitlementAttributeBuilder
impl Clone for EntitlementAttributeBuilder
source§fn clone(&self) -> EntitlementAttributeBuilder
fn clone(&self) -> EntitlementAttributeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EntitlementAttributeBuilder
impl Debug for EntitlementAttributeBuilder
source§impl Default for EntitlementAttributeBuilder
impl Default for EntitlementAttributeBuilder
source§fn default() -> EntitlementAttributeBuilder
fn default() -> EntitlementAttributeBuilder
source§impl PartialEq for EntitlementAttributeBuilder
impl PartialEq for EntitlementAttributeBuilder
source§fn eq(&self, other: &EntitlementAttributeBuilder) -> bool
fn eq(&self, other: &EntitlementAttributeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EntitlementAttributeBuilder
Auto Trait Implementations§
impl Freeze for EntitlementAttributeBuilder
impl RefUnwindSafe for EntitlementAttributeBuilder
impl Send for EntitlementAttributeBuilder
impl Sync for EntitlementAttributeBuilder
impl Unpin for EntitlementAttributeBuilder
impl UnwindSafe for EntitlementAttributeBuilder
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