Struct aws_sdk_appstream::operation::create_streaming_url::builders::CreateStreamingURLFluentBuilder
source · pub struct CreateStreamingURLFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateStreamingURL
.
Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.
Implementations§
source§impl CreateStreamingURLFluentBuilder
impl CreateStreamingURLFluentBuilder
sourcepub fn as_input(&self) -> &CreateStreamingUrlInputBuilder
pub fn as_input(&self) -> &CreateStreamingUrlInputBuilder
Access the CreateStreamingURL as a reference.
sourcepub async fn send(
self
) -> Result<CreateStreamingUrlOutput, SdkError<CreateStreamingURLError, HttpResponse>>
pub async fn send( self ) -> Result<CreateStreamingUrlOutput, SdkError<CreateStreamingURLError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateStreamingUrlOutput, CreateStreamingURLError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateStreamingUrlOutput, CreateStreamingURLError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name of the stack.
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.
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.
sourcepub fn get_fleet_name(&self) -> &Option<String>
pub fn get_fleet_name(&self) -> &Option<String>
The name of the fleet.
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.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The identifier of the user.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. If your fleet is enabled for the Desktop stream view, you can also choose to launch directly to the operating system desktop. To do so, specify Desktop.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. If your fleet is enabled for the Desktop stream view, you can also choose to launch directly to the operating system desktop. To do so, specify Desktop.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. If your fleet is enabled for the Desktop stream view, you can also choose to launch directly to the operating system desktop. To do so, specify Desktop.
sourcepub fn validity(self, input: i64) -> Self
pub fn validity(self, input: i64) -> Self
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.
sourcepub fn set_validity(self, input: Option<i64>) -> Self
pub fn set_validity(self, input: Option<i64>) -> Self
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.
sourcepub fn get_validity(&self) -> &Option<i64>
pub fn get_validity(&self) -> &Option<i64>
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.
sourcepub fn session_context(self, input: impl Into<String>) -> Self
pub fn session_context(self, input: impl Into<String>) -> Self
The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.
sourcepub fn set_session_context(self, input: Option<String>) -> Self
pub fn set_session_context(self, input: Option<String>) -> Self
The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.
sourcepub fn get_session_context(&self) -> &Option<String>
pub fn get_session_context(&self) -> &Option<String>
The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.
Trait Implementations§
source§impl Clone for CreateStreamingURLFluentBuilder
impl Clone for CreateStreamingURLFluentBuilder
source§fn clone(&self) -> CreateStreamingURLFluentBuilder
fn clone(&self) -> CreateStreamingURLFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateStreamingURLFluentBuilder
impl !RefUnwindSafe for CreateStreamingURLFluentBuilder
impl Send for CreateStreamingURLFluentBuilder
impl Sync for CreateStreamingURLFluentBuilder
impl Unpin for CreateStreamingURLFluentBuilder
impl !UnwindSafe for CreateStreamingURLFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more