#[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
This field is required.
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 ==
.