Struct aws_sdk_kinesisvideoarchivedmedia::operation::get_media_for_fragment_list::builders::GetMediaForFragmentListInputBuilder
source · #[non_exhaustive]pub struct GetMediaForFragmentListInputBuilder { /* private fields */ }
Expand description
A builder for GetMediaForFragmentListInput
.
Implementations§
source§impl GetMediaForFragmentListInputBuilder
impl GetMediaForFragmentListInputBuilder
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 from which to retrieve fragment media. Specify either this parameter or the StreamARN
parameter.
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 from which to retrieve fragment media. Specify either this parameter or the StreamARN
parameter.
sourcepub fn get_stream_name(&self) -> &Option<String>
pub fn get_stream_name(&self) -> &Option<String>
The name of the stream from which to retrieve fragment media. Specify either this parameter or the StreamARN
parameter.
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 from which to retrieve fragment media. Specify either this parameter or the StreamName
parameter.
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 from which to retrieve fragment media. Specify either this parameter or the StreamName
parameter.
sourcepub fn get_stream_arn(&self) -> &Option<String>
pub fn get_stream_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the stream from which to retrieve fragment media. Specify either this parameter or the StreamName
parameter.
sourcepub fn fragments(self, input: impl Into<String>) -> Self
pub fn fragments(self, input: impl Into<String>) -> Self
Appends an item to fragments
.
To override the contents of this collection use set_fragments
.
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments
.
sourcepub fn set_fragments(self, input: Option<Vec<String>>) -> Self
pub fn set_fragments(self, input: Option<Vec<String>>) -> Self
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments
.
sourcepub fn get_fragments(&self) -> &Option<Vec<String>>
pub fn get_fragments(&self) -> &Option<Vec<String>>
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments
.
sourcepub fn build(self) -> Result<GetMediaForFragmentListInput, BuildError>
pub fn build(self) -> Result<GetMediaForFragmentListInput, BuildError>
Consumes the builder and constructs a GetMediaForFragmentListInput
.
source§impl GetMediaForFragmentListInputBuilder
impl GetMediaForFragmentListInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetMediaForFragmentListOutput, SdkError<GetMediaForFragmentListError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetMediaForFragmentListOutput, SdkError<GetMediaForFragmentListError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetMediaForFragmentListInputBuilder
impl Clone for GetMediaForFragmentListInputBuilder
source§fn clone(&self) -> GetMediaForFragmentListInputBuilder
fn clone(&self) -> GetMediaForFragmentListInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetMediaForFragmentListInputBuilder
impl Default for GetMediaForFragmentListInputBuilder
source§fn default() -> GetMediaForFragmentListInputBuilder
fn default() -> GetMediaForFragmentListInputBuilder
source§impl PartialEq for GetMediaForFragmentListInputBuilder
impl PartialEq for GetMediaForFragmentListInputBuilder
source§fn eq(&self, other: &GetMediaForFragmentListInputBuilder) -> bool
fn eq(&self, other: &GetMediaForFragmentListInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.