@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HlsInputSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
HlsInputSettings() |
Modifier and Type | Method and Description |
---|---|
HlsInputSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getBandwidth()
When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen,
otherwise the highest bandwidth stream in the m3u8 will be chosen.
|
Integer |
getBufferSegments()
When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written
segment).
|
Integer |
getRetries()
The number of consecutive times that attempts to read a manifest or segment must fail before the input is
considered unavailable.
|
Integer |
getRetryInterval()
The number of seconds between retries when an attempt to read a manifest or segment fails.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBandwidth(Integer bandwidth)
When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen,
otherwise the highest bandwidth stream in the m3u8 will be chosen.
|
void |
setBufferSegments(Integer bufferSegments)
When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written
segment).
|
void |
setRetries(Integer retries)
The number of consecutive times that attempts to read a manifest or segment must fail before the input is
considered unavailable.
|
void |
setRetryInterval(Integer retryInterval)
The number of seconds between retries when an attempt to read a manifest or segment fails.
|
String |
toString()
Returns a string representation of this object.
|
HlsInputSettings |
withBandwidth(Integer bandwidth)
When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen,
otherwise the highest bandwidth stream in the m3u8 will be chosen.
|
HlsInputSettings |
withBufferSegments(Integer bufferSegments)
When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written
segment).
|
HlsInputSettings |
withRetries(Integer retries)
The number of consecutive times that attempts to read a manifest or segment must fail before the input is
considered unavailable.
|
HlsInputSettings |
withRetryInterval(Integer retryInterval)
The number of seconds between retries when an attempt to read a manifest or segment fails.
|
public void setBandwidth(Integer bandwidth)
bandwidth
- When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen,
otherwise the highest bandwidth stream in the m3u8 will be chosen. The bitrate is specified in bits per
second, as in an HLS manifest.public Integer getBandwidth()
public HlsInputSettings withBandwidth(Integer bandwidth)
bandwidth
- When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen,
otherwise the highest bandwidth stream in the m3u8 will be chosen. The bitrate is specified in bits per
second, as in an HLS manifest.public void setBufferSegments(Integer bufferSegments)
bufferSegments
- When specified, reading of the HLS input will begin this many buffer segments from the end (most recently
written segment). When not specified, the HLS input will begin with the first segment specified in the
m3u8.public Integer getBufferSegments()
public HlsInputSettings withBufferSegments(Integer bufferSegments)
bufferSegments
- When specified, reading of the HLS input will begin this many buffer segments from the end (most recently
written segment). When not specified, the HLS input will begin with the first segment specified in the
m3u8.public void setRetries(Integer retries)
retries
- The number of consecutive times that attempts to read a manifest or segment must fail before the input is
considered unavailable.public Integer getRetries()
public HlsInputSettings withRetries(Integer retries)
retries
- The number of consecutive times that attempts to read a manifest or segment must fail before the input is
considered unavailable.public void setRetryInterval(Integer retryInterval)
retryInterval
- The number of seconds between retries when an attempt to read a manifest or segment fails.public Integer getRetryInterval()
public HlsInputSettings withRetryInterval(Integer retryInterval)
retryInterval
- The number of seconds between retries when an attempt to read a manifest or segment fails.public String toString()
toString
in class Object
Object.toString()
public HlsInputSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.