Struct aws_sdk_kinesisvideoarchivedmedia::operation::list_fragments::builders::ListFragmentsInputBuilder
source · #[non_exhaustive]pub struct ListFragmentsInputBuilder { /* private fields */ }
Expand description
A builder for ListFragmentsInput
.
Implementations§
source§impl ListFragmentsInputBuilder
impl ListFragmentsInputBuilder
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 a fragment list. 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 a fragment list. 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 a fragment list. 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 a fragment list. 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 a fragment list. 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 a fragment list. Specify either this parameter or the StreamName
parameter.
sourcepub fn max_results(self, input: i64) -> Self
pub fn max_results(self, input: i64) -> Self
The total number of fragments to return. If the total number of fragments available is more than the value specified in max-results
, then a ListFragmentsOutput$NextToken
is provided in the output that you can use to resume pagination.
sourcepub fn set_max_results(self, input: Option<i64>) -> Self
pub fn set_max_results(self, input: Option<i64>) -> Self
The total number of fragments to return. If the total number of fragments available is more than the value specified in max-results
, then a ListFragmentsOutput$NextToken
is provided in the output that you can use to resume pagination.
sourcepub fn get_max_results(&self) -> &Option<i64>
pub fn get_max_results(&self) -> &Option<i64>
The total number of fragments to return. If the total number of fragments available is more than the value specified in max-results
, then a ListFragmentsOutput$NextToken
is provided in the output that you can use to resume pagination.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken
from a previously truncated response.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken
from a previously truncated response.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token to specify where to start paginating. This is the ListFragmentsOutput$NextToken
from a previously truncated response.
sourcepub fn fragment_selector(self, input: FragmentSelector) -> Self
pub fn fragment_selector(self, input: FragmentSelector) -> Self
Describes the timestamp range and timestamp origin for the range of fragments to return.
sourcepub fn set_fragment_selector(self, input: Option<FragmentSelector>) -> Self
pub fn set_fragment_selector(self, input: Option<FragmentSelector>) -> Self
Describes the timestamp range and timestamp origin for the range of fragments to return.
sourcepub fn get_fragment_selector(&self) -> &Option<FragmentSelector>
pub fn get_fragment_selector(&self) -> &Option<FragmentSelector>
Describes the timestamp range and timestamp origin for the range of fragments to return.
sourcepub fn build(self) -> Result<ListFragmentsInput, BuildError>
pub fn build(self) -> Result<ListFragmentsInput, BuildError>
Consumes the builder and constructs a ListFragmentsInput
.
source§impl ListFragmentsInputBuilder
impl ListFragmentsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListFragmentsOutput, SdkError<ListFragmentsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListFragmentsOutput, SdkError<ListFragmentsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListFragmentsInputBuilder
impl Clone for ListFragmentsInputBuilder
source§fn clone(&self) -> ListFragmentsInputBuilder
fn clone(&self) -> ListFragmentsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListFragmentsInputBuilder
impl Debug for ListFragmentsInputBuilder
source§impl Default for ListFragmentsInputBuilder
impl Default for ListFragmentsInputBuilder
source§fn default() -> ListFragmentsInputBuilder
fn default() -> ListFragmentsInputBuilder
source§impl PartialEq for ListFragmentsInputBuilder
impl PartialEq for ListFragmentsInputBuilder
source§fn eq(&self, other: &ListFragmentsInputBuilder) -> bool
fn eq(&self, other: &ListFragmentsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.