Struct aws_sdk_appstream::model::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
sourceimpl 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.
sourceimpl Entitlement
impl Entitlement
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Entitlement
.
Trait Implementations
sourceimpl Clone for Entitlement
impl Clone for Entitlement
sourcefn clone(&self) -> Entitlement
fn clone(&self) -> Entitlement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Entitlement
impl Debug for Entitlement
sourceimpl PartialEq<Entitlement> for Entitlement
impl PartialEq<Entitlement> for Entitlement
sourcefn eq(&self, other: &Entitlement) -> bool
fn eq(&self, other: &Entitlement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Entitlement) -> bool
fn ne(&self, other: &Entitlement) -> bool
This method tests for !=
.
impl StructuralPartialEq for Entitlement
Auto Trait Implementations
impl RefUnwindSafe for Entitlement
impl Send for Entitlement
impl Sync for Entitlement
impl Unpin for Entitlement
impl UnwindSafe for Entitlement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more