public class GetMediaForFragmentListResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
GetMediaForFragmentListResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContentType()
The content type of the requested media.
|
java.io.InputStream |
getPayload()
The payload that Kinesis Video Streams returns is a sequence of chunks
from the specified stream.
|
int |
hashCode() |
void |
setContentType(java.lang.String contentType)
The content type of the requested media.
|
void |
setPayload(java.io.InputStream payload)
The payload that Kinesis Video Streams returns is a sequence of chunks
from the specified stream.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetMediaForFragmentListResult |
withContentType(java.lang.String contentType)
The content type of the requested media.
|
GetMediaForFragmentListResult |
withPayload(java.io.InputStream payload)
The payload that Kinesis Video Streams returns is a sequence of chunks
from the specified stream.
|
public java.lang.String getContentType()
The content type of the requested media.
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_\.\-]+$
The content type of the requested media.
public void setContentType(java.lang.String contentType)
The content type of the requested media.
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_\.\-]+$
contentType - The content type of the requested media.
public GetMediaForFragmentListResult withContentType(java.lang.String contentType)
The content type of the requested media.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: ^[a-zA-Z0-9_\.\-]+$
contentType - The content type of the requested media.
public java.io.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 time stamp of the fragment.
AWS_KINESISVIDEO_PRODUCER_SIDE_TIMESTAMP - Producer-side time stamp 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 exception
AWS_KINESISVIDEO_EXCEPTION_MESSAGE - A text description of the exception
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 time stamp of the fragment.
AWS_KINESISVIDEO_PRODUCER_SIDE_TIMESTAMP - Producer-side time stamp 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 exception
AWS_KINESISVIDEO_EXCEPTION_MESSAGE - A text description of the exception
public void setPayload(java.io.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 time stamp of the fragment.
AWS_KINESISVIDEO_PRODUCER_SIDE_TIMESTAMP - Producer-side time stamp 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 exception
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 time stamp of the fragment.
AWS_KINESISVIDEO_PRODUCER_SIDE_TIMESTAMP - Producer-side time stamp 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 exception
AWS_KINESISVIDEO_EXCEPTION_MESSAGE - A text description of the exception
public GetMediaForFragmentListResult withPayload(java.io.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 time stamp of the fragment.
AWS_KINESISVIDEO_PRODUCER_SIDE_TIMESTAMP - Producer-side time stamp 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 exception
AWS_KINESISVIDEO_EXCEPTION_MESSAGE - A text description of the exception
Returns a reference to this object so that method calls can be chained together.
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 time stamp of the fragment.
AWS_KINESISVIDEO_PRODUCER_SIDE_TIMESTAMP - Producer-side time stamp 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 exception
AWS_KINESISVIDEO_EXCEPTION_MESSAGE - A text description of the exception
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.