Struct aws_sdk_kinesisvideoarchivedmedia::operation::get_media_for_fragment_list::builders::GetMediaForFragmentListOutputBuilder
source · #[non_exhaustive]pub struct GetMediaForFragmentListOutputBuilder { /* private fields */ }
Expand description
A builder for GetMediaForFragmentListOutput
.
Implementations§
source§impl GetMediaForFragmentListOutputBuilder
impl GetMediaForFragmentListOutputBuilder
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
The content type of the requested media.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
The content type of the requested media.
sourcepub fn get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
The content type of the requested media.
sourcepub fn payload(self, input: ByteStream) -> Self
pub fn payload(self, input: ByteStream) -> Self
The payload that Kinesis Video Streams returns is a sequence of chunks from the specified stream. For information about the chunks, see PutMedia. The chunks that Kinesis Video Streams returns in the GetMediaForFragmentList
call also include the following additional Matroska (MKV) tags:
-
AWS_KINESISVIDEO_FRAGMENT_NUMBER - Fragment number returned in the chunk.
-
AWS_KINESISVIDEO_SERVER_SIDE_TIMESTAMP - Server-side timestamp of the fragment.
-
AWS_KINESISVIDEO_PRODUCER_SIDE_TIMESTAMP - Producer-side timestamp of the fragment.
The following tags will be included if an exception occurs:
-
AWS_KINESISVIDEO_FRAGMENT_NUMBER - The number of the fragment that threw the exception
-
AWS_KINESISVIDEO_EXCEPTION_ERROR_CODE - The integer code of the
-
AWS_KINESISVIDEO_EXCEPTION_MESSAGE - A text description of the exception
sourcepub fn set_payload(self, input: Option<ByteStream>) -> Self
pub fn set_payload(self, input: Option<ByteStream>) -> Self
The payload that Kinesis Video Streams returns is a sequence of chunks from the specified stream. For information about the chunks, see PutMedia. The chunks that Kinesis Video Streams returns in the GetMediaForFragmentList
call also include the following additional Matroska (MKV) tags:
-
AWS_KINESISVIDEO_FRAGMENT_NUMBER - Fragment number returned in the chunk.
-
AWS_KINESISVIDEO_SERVER_SIDE_TIMESTAMP - Server-side timestamp of the fragment.
-
AWS_KINESISVIDEO_PRODUCER_SIDE_TIMESTAMP - Producer-side timestamp of the fragment.
The following tags will be included if an exception occurs:
-
AWS_KINESISVIDEO_FRAGMENT_NUMBER - The number of the fragment that threw the exception
-
AWS_KINESISVIDEO_EXCEPTION_ERROR_CODE - The integer code of the
-
AWS_KINESISVIDEO_EXCEPTION_MESSAGE - A text description of the exception
sourcepub fn get_payload(&self) -> &Option<ByteStream>
pub fn get_payload(&self) -> &Option<ByteStream>
The payload that Kinesis Video Streams returns is a sequence of chunks from the specified stream. For information about the chunks, see PutMedia. The chunks that Kinesis Video Streams returns in the GetMediaForFragmentList
call also include the following additional Matroska (MKV) tags:
-
AWS_KINESISVIDEO_FRAGMENT_NUMBER - Fragment number returned in the chunk.
-
AWS_KINESISVIDEO_SERVER_SIDE_TIMESTAMP - Server-side timestamp of the fragment.
-
AWS_KINESISVIDEO_PRODUCER_SIDE_TIMESTAMP - Producer-side timestamp of the fragment.
The following tags will be included if an exception occurs:
-
AWS_KINESISVIDEO_FRAGMENT_NUMBER - The number of the fragment that threw the exception
-
AWS_KINESISVIDEO_EXCEPTION_ERROR_CODE - The integer code of the
-
AWS_KINESISVIDEO_EXCEPTION_MESSAGE - A text description of the exception
sourcepub fn build(self) -> GetMediaForFragmentListOutput
pub fn build(self) -> GetMediaForFragmentListOutput
Consumes the builder and constructs a GetMediaForFragmentListOutput
.