Struct aws_sdk_appstream::types::EntitlementAttribute
source · #[non_exhaustive]pub struct EntitlementAttribute {
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
An attribute associated with an entitlement. Application entitlements work by matching a supported SAML 2.0 attribute name to a value when a user identity federates to an Amazon AppStream 2.0 SAML application.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: 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
value: 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.
Implementations§
source§impl EntitlementAttribute
impl EntitlementAttribute
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
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
source§impl EntitlementAttribute
impl EntitlementAttribute
sourcepub fn builder() -> EntitlementAttributeBuilder
pub fn builder() -> EntitlementAttributeBuilder
Creates a new builder-style object to manufacture EntitlementAttribute
.
Trait Implementations§
source§impl Clone for EntitlementAttribute
impl Clone for EntitlementAttribute
source§fn clone(&self) -> EntitlementAttribute
fn clone(&self) -> EntitlementAttribute
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EntitlementAttribute
impl Debug for EntitlementAttribute
source§impl PartialEq for EntitlementAttribute
impl PartialEq for EntitlementAttribute
source§fn eq(&self, other: &EntitlementAttribute) -> bool
fn eq(&self, other: &EntitlementAttribute) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EntitlementAttribute
Auto Trait Implementations§
impl Freeze for EntitlementAttribute
impl RefUnwindSafe for EntitlementAttribute
impl Send for EntitlementAttribute
impl Sync for EntitlementAttribute
impl Unpin for EntitlementAttribute
impl UnwindSafe for EntitlementAttribute
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