#[non_exhaustive]pub struct StreamingSessionStreamBuilder { /* private fields */ }Expand description
A builder for StreamingSessionStream.
Implementations§
source§impl StreamingSessionStreamBuilder
impl StreamingSessionStreamBuilder
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The ISO timestamp in seconds for when the resource was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The ISO timestamp in seconds for when the resource was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The ISO timestamp in seconds for when the resource was created.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The user ID of the user that created the streaming session stream.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The user ID of the user that created the streaming session stream.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The user ID of the user that created the streaming session stream.
sourcepub fn expires_at(self, input: DateTime) -> Self
pub fn expires_at(self, input: DateTime) -> Self
The ISO timestamp in seconds for when the resource expires.
sourcepub fn set_expires_at(self, input: Option<DateTime>) -> Self
pub fn set_expires_at(self, input: Option<DateTime>) -> Self
The ISO timestamp in seconds for when the resource expires.
sourcepub fn get_expires_at(&self) -> &Option<DateTime>
pub fn get_expires_at(&self) -> &Option<DateTime>
The ISO timestamp in seconds for when the resource expires.
sourcepub fn owned_by(self, input: impl Into<String>) -> Self
pub fn owned_by(self, input: impl Into<String>) -> Self
The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
sourcepub fn set_owned_by(self, input: Option<String>) -> Self
pub fn set_owned_by(self, input: Option<String>) -> Self
The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
sourcepub fn get_owned_by(&self) -> &Option<String>
pub fn get_owned_by(&self) -> &Option<String>
The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
sourcepub fn state(self, input: StreamingSessionStreamState) -> Self
pub fn state(self, input: StreamingSessionStreamState) -> Self
The current state.
sourcepub fn set_state(self, input: Option<StreamingSessionStreamState>) -> Self
pub fn set_state(self, input: Option<StreamingSessionStreamState>) -> Self
The current state.
sourcepub fn get_state(&self) -> &Option<StreamingSessionStreamState>
pub fn get_state(&self) -> &Option<StreamingSessionStreamState>
The current state.
sourcepub fn status_code(self, input: StreamingSessionStreamStatusCode) -> Self
pub fn status_code(self, input: StreamingSessionStreamStatusCode) -> Self
The streaming session stream status code.
sourcepub fn set_status_code(
self,
input: Option<StreamingSessionStreamStatusCode>
) -> Self
pub fn set_status_code( self, input: Option<StreamingSessionStreamStatusCode> ) -> Self
The streaming session stream status code.
sourcepub fn get_status_code(&self) -> &Option<StreamingSessionStreamStatusCode>
pub fn get_status_code(&self) -> &Option<StreamingSessionStreamStatusCode>
The streaming session stream status code.
sourcepub fn set_stream_id(self, input: Option<String>) -> Self
pub fn set_stream_id(self, input: Option<String>) -> Self
The stream ID.
sourcepub fn get_stream_id(&self) -> &Option<String>
pub fn get_stream_id(&self) -> &Option<String>
The stream ID.
sourcepub fn url(self, input: impl Into<String>) -> Self
pub fn url(self, input: impl Into<String>) -> Self
The URL to connect to this stream using the DCV client.
sourcepub fn set_url(self, input: Option<String>) -> Self
pub fn set_url(self, input: Option<String>) -> Self
The URL to connect to this stream using the DCV client.
sourcepub fn get_url(&self) -> &Option<String>
pub fn get_url(&self) -> &Option<String>
The URL to connect to this stream using the DCV client.
sourcepub fn build(self) -> StreamingSessionStream
pub fn build(self) -> StreamingSessionStream
Consumes the builder and constructs a StreamingSessionStream.
Trait Implementations§
source§impl Clone for StreamingSessionStreamBuilder
impl Clone for StreamingSessionStreamBuilder
source§fn clone(&self) -> StreamingSessionStreamBuilder
fn clone(&self) -> StreamingSessionStreamBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StreamingSessionStreamBuilder
impl Default for StreamingSessionStreamBuilder
source§fn default() -> StreamingSessionStreamBuilder
fn default() -> StreamingSessionStreamBuilder
source§impl PartialEq for StreamingSessionStreamBuilder
impl PartialEq for StreamingSessionStreamBuilder
source§fn eq(&self, other: &StreamingSessionStreamBuilder) -> bool
fn eq(&self, other: &StreamingSessionStreamBuilder) -> bool
self and other values to be equal, and is used
by ==.