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 ==.impl StructuralPartialEq for StartStreamingSessionInputBuilder
Auto Trait Implementations§
impl Freeze for StartStreamingSessionInputBuilder
impl RefUnwindSafe for StartStreamingSessionInputBuilder
impl Send for StartStreamingSessionInputBuilder
impl Sync for StartStreamingSessionInputBuilder
impl Unpin for StartStreamingSessionInputBuilder
impl UnwindSafe for StartStreamingSessionInputBuilder
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