Struct aws_sdk_kinesisvideoarchivedmedia::operation::get_clip::builders::GetClipInputBuilder
source · #[non_exhaustive]pub struct GetClipInputBuilder { /* private fields */ }
Expand description
A builder for GetClipInput
.
Implementations§
source§impl GetClipInputBuilder
impl GetClipInputBuilder
sourcepub fn stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The name of the stream for which to retrieve the media clip.
You must specify either the StreamName or the StreamARN.
sourcepub fn set_stream_name(self, input: Option<String>) -> Self
pub fn set_stream_name(self, input: Option<String>) -> Self
The name of the stream for which to retrieve the media clip.
You must specify either the StreamName or the StreamARN.
sourcepub fn get_stream_name(&self) -> &Option<String>
pub fn get_stream_name(&self) -> &Option<String>
The name of the stream for which to retrieve the media clip.
You must specify either the StreamName or the StreamARN.
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the stream for which to retrieve the media clip.
You must specify either the StreamName or the StreamARN.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the stream for which to retrieve the media clip.
You must specify either the StreamName or the StreamARN.
sourcepub fn get_stream_arn(&self) -> &Option<String>
pub fn get_stream_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the stream for which to retrieve the media clip.
You must specify either the StreamName or the StreamARN.
sourcepub fn clip_fragment_selector(self, input: ClipFragmentSelector) -> Self
pub fn clip_fragment_selector(self, input: ClipFragmentSelector) -> Self
The time range of the requested clip and the source of the timestamps.
This field is required.sourcepub fn set_clip_fragment_selector(
self,
input: Option<ClipFragmentSelector>
) -> Self
pub fn set_clip_fragment_selector( self, input: Option<ClipFragmentSelector> ) -> Self
The time range of the requested clip and the source of the timestamps.
sourcepub fn get_clip_fragment_selector(&self) -> &Option<ClipFragmentSelector>
pub fn get_clip_fragment_selector(&self) -> &Option<ClipFragmentSelector>
The time range of the requested clip and the source of the timestamps.
sourcepub fn build(self) -> Result<GetClipInput, BuildError>
pub fn build(self) -> Result<GetClipInput, BuildError>
Consumes the builder and constructs a GetClipInput
.
source§impl GetClipInputBuilder
impl GetClipInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetClipOutput, SdkError<GetClipError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetClipOutput, SdkError<GetClipError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetClipInputBuilder
impl Clone for GetClipInputBuilder
source§fn clone(&self) -> GetClipInputBuilder
fn clone(&self) -> GetClipInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetClipInputBuilder
impl Debug for GetClipInputBuilder
source§impl Default for GetClipInputBuilder
impl Default for GetClipInputBuilder
source§fn default() -> GetClipInputBuilder
fn default() -> GetClipInputBuilder
source§impl PartialEq for GetClipInputBuilder
impl PartialEq for GetClipInputBuilder
source§fn eq(&self, other: &GetClipInputBuilder) -> bool
fn eq(&self, other: &GetClipInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.