Struct aws_sdk_appstream::operation::create_streaming_url::builders::CreateStreamingUrlInputBuilder
source · #[non_exhaustive]pub struct CreateStreamingUrlInputBuilder { /* private fields */ }
Expand description
A builder for CreateStreamingUrlInput
.
Implementations§
source§impl CreateStreamingUrlInputBuilder
impl CreateStreamingUrlInputBuilder
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.
This field is required.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.
This field is required.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 user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The identifier of the user.
This field is required.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.
sourcepub fn build(self) -> Result<CreateStreamingUrlInput, BuildError>
pub fn build(self) -> Result<CreateStreamingUrlInput, BuildError>
Consumes the builder and constructs a CreateStreamingUrlInput
.
source§impl CreateStreamingUrlInputBuilder
impl CreateStreamingUrlInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateStreamingUrlOutput, SdkError<CreateStreamingURLError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateStreamingUrlOutput, SdkError<CreateStreamingURLError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateStreamingUrlInputBuilder
impl Clone for CreateStreamingUrlInputBuilder
source§fn clone(&self) -> CreateStreamingUrlInputBuilder
fn clone(&self) -> CreateStreamingUrlInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateStreamingUrlInputBuilder
impl Default for CreateStreamingUrlInputBuilder
source§fn default() -> CreateStreamingUrlInputBuilder
fn default() -> CreateStreamingUrlInputBuilder
source§impl PartialEq for CreateStreamingUrlInputBuilder
impl PartialEq for CreateStreamingUrlInputBuilder
source§fn eq(&self, other: &CreateStreamingUrlInputBuilder) -> bool
fn eq(&self, other: &CreateStreamingUrlInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateStreamingUrlInputBuilder
Auto Trait Implementations§
impl Freeze for CreateStreamingUrlInputBuilder
impl RefUnwindSafe for CreateStreamingUrlInputBuilder
impl Send for CreateStreamingUrlInputBuilder
impl Sync for CreateStreamingUrlInputBuilder
impl Unpin for CreateStreamingUrlInputBuilder
impl UnwindSafe for CreateStreamingUrlInputBuilder
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