Struct aws_sdk_appstream::types::Entitlement
source · #[non_exhaustive]pub struct Entitlement { /* private fields */ }
Expand description
Specifies an entitlement. Entitlements control access to specific applications within a stack, based on user attributes. Entitlements apply to SAML 2.0 federated user identities. Amazon AppStream 2.0 user pool and streaming URL users are entitled to all applications in a stack. Entitlements don't apply to the desktop stream view application, or to applications managed by a dynamic app provider using the Dynamic Application Framework.
Implementations§
source§impl Entitlement
impl Entitlement
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name of the stack with which the entitlement is associated.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the entitlement.
sourcepub fn app_visibility(&self) -> Option<&AppVisibility>
pub fn app_visibility(&self) -> Option<&AppVisibility>
Specifies whether all or selected apps are entitled.
sourcepub fn attributes(&self) -> Option<&[EntitlementAttribute]>
pub fn attributes(&self) -> Option<&[EntitlementAttribute]>
The attributes of the entitlement.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The time when the entitlement was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The time when the entitlement was last modified.
source§impl Entitlement
impl Entitlement
sourcepub fn builder() -> EntitlementBuilder
pub fn builder() -> EntitlementBuilder
Creates a new builder-style object to manufacture Entitlement
.
Trait Implementations§
source§impl Clone for Entitlement
impl Clone for Entitlement
source§fn clone(&self) -> Entitlement
fn clone(&self) -> Entitlement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Entitlement
impl Debug for Entitlement
source§impl PartialEq<Entitlement> for Entitlement
impl PartialEq<Entitlement> for Entitlement
source§fn eq(&self, other: &Entitlement) -> bool
fn eq(&self, other: &Entitlement) -> bool
self
and other
values to be equal, and is used
by ==
.