Struct aws_sdk_appstream::model::entitlement_attribute::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for EntitlementAttribute.
Implementations
sourceimpl Builder
impl Builder
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 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.
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 build(self) -> EntitlementAttribute
pub fn build(self) -> EntitlementAttribute
Consumes the builder and constructs a EntitlementAttribute.