Struct aws_sdk_nimble::operation::start_streaming_session::builders::StartStreamingSessionInputBuilder
source · #[non_exhaustive]pub struct StartStreamingSessionInputBuilder { /* private fields */ }Expand description
A builder for StartStreamingSessionInput.
Implementations§
source§impl StartStreamingSessionInputBuilder
impl StartStreamingSessionInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<StartStreamingSessionInput, BuildError>
pub fn build(self) -> Result<StartStreamingSessionInput, BuildError>
Consumes the builder and constructs a StartStreamingSessionInput.
source§impl StartStreamingSessionInputBuilder
impl StartStreamingSessionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartStreamingSessionOutput, SdkError<StartStreamingSessionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartStreamingSessionOutput, SdkError<StartStreamingSessionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartStreamingSessionInputBuilder
impl Clone for StartStreamingSessionInputBuilder
source§fn clone(&self) -> StartStreamingSessionInputBuilder
fn clone(&self) -> StartStreamingSessionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartStreamingSessionInputBuilder
impl Default for StartStreamingSessionInputBuilder
source§fn default() -> StartStreamingSessionInputBuilder
fn default() -> StartStreamingSessionInputBuilder
source§impl PartialEq for StartStreamingSessionInputBuilder
impl PartialEq for StartStreamingSessionInputBuilder
source§fn eq(&self, other: &StartStreamingSessionInputBuilder) -> bool
fn eq(&self, other: &StartStreamingSessionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.