Struct aws_sdk_nimble::operation::start_streaming_session::builders::StartStreamingSessionFluentBuilder
source · pub struct StartStreamingSessionFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StartStreamingSession.
Transitions sessions from the STOPPED state into the READY state. The START_IN_PROGRESS state is the intermediate state between the STOPPED and READY states.
Implementations§
source§impl StartStreamingSessionFluentBuilder
impl StartStreamingSessionFluentBuilder
sourcepub fn as_input(&self) -> &StartStreamingSessionInputBuilder
pub fn as_input(&self) -> &StartStreamingSessionInputBuilder
Access the StartStreamingSession as a reference.
sourcepub async fn send(
self
) -> Result<StartStreamingSessionOutput, SdkError<StartStreamingSessionError, HttpResponse>>
pub async fn send( self ) -> Result<StartStreamingSessionOutput, SdkError<StartStreamingSessionError, 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<StartStreamingSessionOutput, StartStreamingSessionError, Self>
pub fn customize( self ) -> CustomizableOperation<StartStreamingSessionOutput, StartStreamingSessionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The streaming session ID for the StartStreamingSessionRequest.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The streaming session ID for the StartStreamingSessionRequest.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
The streaming session ID for the StartStreamingSessionRequest.
sourcepub fn studio_id(self, input: impl Into<String>) -> Self
pub fn studio_id(self, input: impl Into<String>) -> Self
The studio ID for the StartStreamingSessionRequest.
sourcepub fn set_studio_id(self, input: Option<String>) -> Self
pub fn set_studio_id(self, input: Option<String>) -> Self
The studio ID for the StartStreamingSessionRequest.
sourcepub fn get_studio_id(&self) -> &Option<String>
pub fn get_studio_id(&self) -> &Option<String>
The studio ID for the StartStreamingSessionRequest.
sourcepub fn set_backup_id(self, input: Option<String>) -> Self
pub fn set_backup_id(self, input: Option<String>) -> Self
The ID of the backup.
sourcepub fn get_backup_id(&self) -> &Option<String>
pub fn get_backup_id(&self) -> &Option<String>
The ID of the backup.
Trait Implementations§
source§impl Clone for StartStreamingSessionFluentBuilder
impl Clone for StartStreamingSessionFluentBuilder
source§fn clone(&self) -> StartStreamingSessionFluentBuilder
fn clone(&self) -> StartStreamingSessionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more