Struct aws_sdk_nimble::operation::create_streaming_session_stream::builders::CreateStreamingSessionStreamInputBuilder
source · #[non_exhaustive]pub struct CreateStreamingSessionStreamInputBuilder { /* private fields */ }Expand description
A builder for CreateStreamingSessionStreamInput.
Implementations§
source§impl CreateStreamingSessionStreamInputBuilder
impl CreateStreamingSessionStreamInputBuilder
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 expiration_in_seconds(self, input: i32) -> Self
pub fn expiration_in_seconds(self, input: i32) -> Self
The expiration time in seconds.
sourcepub fn set_expiration_in_seconds(self, input: Option<i32>) -> Self
pub fn set_expiration_in_seconds(self, input: Option<i32>) -> Self
The expiration time in seconds.
sourcepub fn get_expiration_in_seconds(&self) -> &Option<i32>
pub fn get_expiration_in_seconds(&self) -> &Option<i32>
The expiration time in seconds.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The streaming session ID.
This field is required.sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The streaming session ID.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
The streaming session ID.
sourcepub fn studio_id(self, input: impl Into<String>) -> Self
pub fn studio_id(self, input: impl Into<String>) -> Self
The studio ID.
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.
sourcepub fn get_studio_id(&self) -> &Option<String>
pub fn get_studio_id(&self) -> &Option<String>
The studio ID.
sourcepub fn build(self) -> Result<CreateStreamingSessionStreamInput, BuildError>
pub fn build(self) -> Result<CreateStreamingSessionStreamInput, BuildError>
Consumes the builder and constructs a CreateStreamingSessionStreamInput.
source§impl CreateStreamingSessionStreamInputBuilder
impl CreateStreamingSessionStreamInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateStreamingSessionStreamOutput, SdkError<CreateStreamingSessionStreamError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateStreamingSessionStreamOutput, SdkError<CreateStreamingSessionStreamError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateStreamingSessionStreamInputBuilder
impl Clone for CreateStreamingSessionStreamInputBuilder
source§fn clone(&self) -> CreateStreamingSessionStreamInputBuilder
fn clone(&self) -> CreateStreamingSessionStreamInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateStreamingSessionStreamInputBuilder
impl Default for CreateStreamingSessionStreamInputBuilder
source§fn default() -> CreateStreamingSessionStreamInputBuilder
fn default() -> CreateStreamingSessionStreamInputBuilder
source§impl PartialEq for CreateStreamingSessionStreamInputBuilder
impl PartialEq for CreateStreamingSessionStreamInputBuilder
source§fn eq(&self, other: &CreateStreamingSessionStreamInputBuilder) -> bool
fn eq(&self, other: &CreateStreamingSessionStreamInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateStreamingSessionStreamInputBuilder
Auto Trait Implementations§
impl Freeze for CreateStreamingSessionStreamInputBuilder
impl RefUnwindSafe for CreateStreamingSessionStreamInputBuilder
impl Send for CreateStreamingSessionStreamInputBuilder
impl Sync for CreateStreamingSessionStreamInputBuilder
impl Unpin for CreateStreamingSessionStreamInputBuilder
impl UnwindSafe for CreateStreamingSessionStreamInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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