Struct aws_sdk_appstream::types::builders::SessionBuilder
source · #[non_exhaustive]pub struct SessionBuilder { /* private fields */ }
Expand description
A builder for Session
.
Implementations§
source§impl SessionBuilder
impl SessionBuilder
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The identifier of the user for whom the session was created.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The identifier of the user for whom the session was created.
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name of the stack for the streaming session.
sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
The name of the stack for the streaming session.
sourcepub fn fleet_name(self, input: impl Into<String>) -> Self
pub fn fleet_name(self, input: impl Into<String>) -> Self
The name of the fleet for the streaming session.
sourcepub fn set_fleet_name(self, input: Option<String>) -> Self
pub fn set_fleet_name(self, input: Option<String>) -> Self
The name of the fleet for the streaming session.
sourcepub fn state(self, input: SessionState) -> Self
pub fn state(self, input: SessionState) -> Self
The current state of the streaming session.
sourcepub fn set_state(self, input: Option<SessionState>) -> Self
pub fn set_state(self, input: Option<SessionState>) -> Self
The current state of the streaming session.
sourcepub fn connection_state(self, input: SessionConnectionState) -> Self
pub fn connection_state(self, input: SessionConnectionState) -> Self
Specifies whether a user is connected to the streaming session.
sourcepub fn set_connection_state(self, input: Option<SessionConnectionState>) -> Self
pub fn set_connection_state(self, input: Option<SessionConnectionState>) -> Self
Specifies whether a user is connected to the streaming session.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time when a streaming instance is dedicated for the user.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time when a streaming instance is dedicated for the user.
sourcepub fn max_expiration_time(self, input: DateTime) -> Self
pub fn max_expiration_time(self, input: DateTime) -> Self
The time when the streaming session is set to expire. This time is based on the MaxUserDurationinSeconds
value, which determines the maximum length of time that a streaming session can run. A streaming session might end earlier than the time specified in SessionMaxExpirationTime
, when the DisconnectTimeOutInSeconds
elapses or the user chooses to end his or her session. If the DisconnectTimeOutInSeconds
elapses, or the user chooses to end his or her session, the streaming instance is terminated and the streaming session ends.
sourcepub fn set_max_expiration_time(self, input: Option<DateTime>) -> Self
pub fn set_max_expiration_time(self, input: Option<DateTime>) -> Self
The time when the streaming session is set to expire. This time is based on the MaxUserDurationinSeconds
value, which determines the maximum length of time that a streaming session can run. A streaming session might end earlier than the time specified in SessionMaxExpirationTime
, when the DisconnectTimeOutInSeconds
elapses or the user chooses to end his or her session. If the DisconnectTimeOutInSeconds
elapses, or the user chooses to end his or her session, the streaming instance is terminated and the streaming session ends.
sourcepub fn authentication_type(self, input: AuthenticationType) -> Self
pub fn authentication_type(self, input: AuthenticationType) -> Self
The authentication method. The user is authenticated using a streaming URL (API
) or SAML 2.0 federation (SAML
).
sourcepub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
pub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
The authentication method. The user is authenticated using a streaming URL (API
) or SAML 2.0 federation (SAML
).
sourcepub fn network_access_configuration(
self,
input: NetworkAccessConfiguration
) -> Self
pub fn network_access_configuration( self, input: NetworkAccessConfiguration ) -> Self
The network details for the streaming session.
sourcepub fn set_network_access_configuration(
self,
input: Option<NetworkAccessConfiguration>
) -> Self
pub fn set_network_access_configuration( self, input: Option<NetworkAccessConfiguration> ) -> Self
The network details for the streaming session.
Trait Implementations§
source§impl Clone for SessionBuilder
impl Clone for SessionBuilder
source§fn clone(&self) -> SessionBuilder
fn clone(&self) -> SessionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SessionBuilder
impl Debug for SessionBuilder
source§impl Default for SessionBuilder
impl Default for SessionBuilder
source§fn default() -> SessionBuilder
fn default() -> SessionBuilder
source§impl PartialEq<SessionBuilder> for SessionBuilder
impl PartialEq<SessionBuilder> for SessionBuilder
source§fn eq(&self, other: &SessionBuilder) -> bool
fn eq(&self, other: &SessionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.