@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMediaForFragmentListResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMediaForFragmentListResult() |
Modifier and Type | Method and Description |
---|---|
GetMediaForFragmentListResult |
clone() |
boolean |
equals(Object obj) |
String |
getContentType()
The content type of the requested media.
|
InputStream |
getPayload()
The payload that Kinesis Video Streams returns is a sequence of chunks from the specified stream.
|
int |
hashCode() |
void |
setContentType(String contentType)
The content type of the requested media.
|
void |
setPayload(InputStream payload)
The payload that Kinesis Video Streams returns is a sequence of chunks from the specified stream.
|
String |
toString()
Returns a string representation of this object.
|
GetMediaForFragmentListResult |
withContentType(String contentType)
The content type of the requested media.
|
GetMediaForFragmentListResult |
withPayload(InputStream payload)
The payload that Kinesis Video Streams returns is a sequence of chunks from the specified stream.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setContentType(String contentType)
The content type of the requested media.
contentType
- The content type of the requested media.public String getContentType()
The content type of the requested media.
public GetMediaForFragmentListResult withContentType(String contentType)
The content type of the requested media.
contentType
- The content type of the requested media.public void setPayload(InputStream payload)
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
payload
- 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
public InputStream getPayload()
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
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
public GetMediaForFragmentListResult withPayload(InputStream payload)
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
payload
- 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
public String toString()
toString
in class Object
Object.toString()
public GetMediaForFragmentListResult clone()