public class GetMediaForFragmentListRequest extends AmazonWebServiceRequest implements java.io.Serializable
Gets media for a list of fragments (specified by fragment number) from the archived data in an Amazon Kinesis video stream.
The following limits apply when using the
GetMediaForFragmentList
API:
A client can call GetMediaForFragmentList
up to five times per
second per stream.
Kinesis Video Streams sends media data at a rate of up to 25 megabytes per
second (or 200 megabits per second) during a
GetMediaForFragmentList
session.
Constructor and Description |
---|
GetMediaForFragmentListRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getFragments()
A list of the numbers of fragments for which to retrieve media.
|
java.lang.String |
getStreamName()
The name of the stream from which to retrieve fragment media.
|
int |
hashCode() |
void |
setFragments(java.util.Collection<java.lang.String> fragments)
A list of the numbers of fragments for which to retrieve media.
|
void |
setStreamName(java.lang.String streamName)
The name of the stream from which to retrieve fragment media.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetMediaForFragmentListRequest |
withFragments(java.util.Collection<java.lang.String> fragments)
A list of the numbers of fragments for which to retrieve media.
|
GetMediaForFragmentListRequest |
withFragments(java.lang.String... fragments)
A list of the numbers of fragments for which to retrieve media.
|
GetMediaForFragmentListRequest |
withStreamName(java.lang.String streamName)
The name of the stream from which to retrieve fragment media.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getStreamName()
The name of the stream from which to retrieve fragment media.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
The name of the stream from which to retrieve fragment media.
public void setStreamName(java.lang.String streamName)
The name of the stream from which to retrieve fragment media.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the stream from which to retrieve fragment media.
public GetMediaForFragmentListRequest withStreamName(java.lang.String streamName)
The name of the stream from which to retrieve fragment media.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the stream from which to retrieve fragment media.
public java.util.List<java.lang.String> getFragments()
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
public void setFragments(java.util.Collection<java.lang.String> fragments)
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
fragments
- A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
public GetMediaForFragmentListRequest withFragments(java.lang.String... fragments)
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
Returns a reference to this object so that method calls can be chained together.
fragments
- A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
public GetMediaForFragmentListRequest withFragments(java.util.Collection<java.lang.String> fragments)
A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
Returns a reference to this object so that method calls can be chained together.
fragments
- A list of the numbers of fragments for which to retrieve media. You retrieve these values with ListFragments.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.