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 ==
.