#[non_exhaustive]pub struct GetStreamSessionInputBuilder { /* private fields */ }
Expand description
A builder for GetStreamSessionInput
.
Implementations§
source§impl GetStreamSessionInputBuilder
impl GetStreamSessionInputBuilder
sourcepub fn channel_arn(self, input: impl Into<String>) -> Self
pub fn channel_arn(self, input: impl Into<String>) -> Self
ARN of the channel resource
This field is required.sourcepub fn set_channel_arn(self, input: Option<String>) -> Self
pub fn set_channel_arn(self, input: Option<String>) -> Self
ARN of the channel resource
sourcepub fn get_channel_arn(&self) -> &Option<String>
pub fn get_channel_arn(&self) -> &Option<String>
ARN of the channel resource
sourcepub fn stream_id(self, input: impl Into<String>) -> Self
pub fn stream_id(self, input: impl Into<String>) -> Self
Unique identifier for a live or previously live stream in the specified channel. If no streamId
is provided, this returns the most recent stream session for the channel, if it exists.
sourcepub fn set_stream_id(self, input: Option<String>) -> Self
pub fn set_stream_id(self, input: Option<String>) -> Self
Unique identifier for a live or previously live stream in the specified channel. If no streamId
is provided, this returns the most recent stream session for the channel, if it exists.
sourcepub fn get_stream_id(&self) -> &Option<String>
pub fn get_stream_id(&self) -> &Option<String>
Unique identifier for a live or previously live stream in the specified channel. If no streamId
is provided, this returns the most recent stream session for the channel, if it exists.
sourcepub fn build(self) -> Result<GetStreamSessionInput, BuildError>
pub fn build(self) -> Result<GetStreamSessionInput, BuildError>
Consumes the builder and constructs a GetStreamSessionInput
.
source§impl GetStreamSessionInputBuilder
impl GetStreamSessionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetStreamSessionOutput, SdkError<GetStreamSessionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetStreamSessionOutput, SdkError<GetStreamSessionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetStreamSessionInputBuilder
impl Clone for GetStreamSessionInputBuilder
source§fn clone(&self) -> GetStreamSessionInputBuilder
fn clone(&self) -> GetStreamSessionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetStreamSessionInputBuilder
impl Debug for GetStreamSessionInputBuilder
source§impl Default for GetStreamSessionInputBuilder
impl Default for GetStreamSessionInputBuilder
source§fn default() -> GetStreamSessionInputBuilder
fn default() -> GetStreamSessionInputBuilder
source§impl PartialEq for GetStreamSessionInputBuilder
impl PartialEq for GetStreamSessionInputBuilder
source§fn eq(&self, other: &GetStreamSessionInputBuilder) -> bool
fn eq(&self, other: &GetStreamSessionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetStreamSessionInputBuilder
Auto Trait Implementations§
impl Freeze for GetStreamSessionInputBuilder
impl RefUnwindSafe for GetStreamSessionInputBuilder
impl Send for GetStreamSessionInputBuilder
impl Sync for GetStreamSessionInputBuilder
impl Unpin for GetStreamSessionInputBuilder
impl UnwindSafe for GetStreamSessionInputBuilder
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