@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MediaStream extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
MediaStream() |
Modifier and Type | Method and Description |
---|---|
MediaStream |
clone() |
boolean |
equals(Object obj) |
MediaStreamAttributes |
getAttributes()
Attributes that are related to the media stream.
|
Integer |
getClockRate()
The sample rate for the stream.
|
String |
getDescription()
A description that can help you quickly identify what your media stream is used for.
|
Integer |
getFmt()
The format type number (sometimes referred to as RTP payload type) of the media stream.
|
Integer |
getMediaStreamId()
A unique identifier for the media stream.
|
String |
getMediaStreamName()
A name that helps you distinguish one media stream from another.
|
String |
getMediaStreamType()
The type of media stream.
|
String |
getVideoFormat()
The resolution of the video.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(MediaStreamAttributes attributes)
Attributes that are related to the media stream.
|
void |
setClockRate(Integer clockRate)
The sample rate for the stream.
|
void |
setDescription(String description)
A description that can help you quickly identify what your media stream is used for.
|
void |
setFmt(Integer fmt)
The format type number (sometimes referred to as RTP payload type) of the media stream.
|
void |
setMediaStreamId(Integer mediaStreamId)
A unique identifier for the media stream.
|
void |
setMediaStreamName(String mediaStreamName)
A name that helps you distinguish one media stream from another.
|
void |
setMediaStreamType(String mediaStreamType)
The type of media stream.
|
void |
setVideoFormat(String videoFormat)
The resolution of the video.
|
String |
toString()
Returns a string representation of this object.
|
MediaStream |
withAttributes(MediaStreamAttributes attributes)
Attributes that are related to the media stream.
|
MediaStream |
withClockRate(Integer clockRate)
The sample rate for the stream.
|
MediaStream |
withDescription(String description)
A description that can help you quickly identify what your media stream is used for.
|
MediaStream |
withFmt(Integer fmt)
The format type number (sometimes referred to as RTP payload type) of the media stream.
|
MediaStream |
withMediaStreamId(Integer mediaStreamId)
A unique identifier for the media stream.
|
MediaStream |
withMediaStreamName(String mediaStreamName)
A name that helps you distinguish one media stream from another.
|
MediaStream |
withMediaStreamType(MediaStreamType mediaStreamType)
The type of media stream.
|
MediaStream |
withMediaStreamType(String mediaStreamType)
The type of media stream.
|
MediaStream |
withVideoFormat(String videoFormat)
The resolution of the video.
|
public void setAttributes(MediaStreamAttributes attributes)
attributes
- Attributes that are related to the media stream.public MediaStreamAttributes getAttributes()
public MediaStream withAttributes(MediaStreamAttributes attributes)
attributes
- Attributes that are related to the media stream.public void setClockRate(Integer clockRate)
clockRate
- The sample rate for the stream. This value is measured in Hz.public Integer getClockRate()
public MediaStream withClockRate(Integer clockRate)
clockRate
- The sample rate for the stream. This value is measured in Hz.public void setDescription(String description)
description
- A description that can help you quickly identify what your media stream is used for.public String getDescription()
public MediaStream withDescription(String description)
description
- A description that can help you quickly identify what your media stream is used for.public void setFmt(Integer fmt)
fmt
- The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect
assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the
receiver.public Integer getFmt()
public MediaStream withFmt(Integer fmt)
fmt
- The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect
assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the
receiver.public void setMediaStreamId(Integer mediaStreamId)
mediaStreamId
- A unique identifier for the media stream.public Integer getMediaStreamId()
public MediaStream withMediaStreamId(Integer mediaStreamId)
mediaStreamId
- A unique identifier for the media stream.public void setMediaStreamName(String mediaStreamName)
mediaStreamName
- A name that helps you distinguish one media stream from another.public String getMediaStreamName()
public MediaStream withMediaStreamName(String mediaStreamName)
mediaStreamName
- A name that helps you distinguish one media stream from another.public void setMediaStreamType(String mediaStreamType)
mediaStreamType
- The type of media stream.MediaStreamType
public String getMediaStreamType()
MediaStreamType
public MediaStream withMediaStreamType(String mediaStreamType)
mediaStreamType
- The type of media stream.MediaStreamType
public MediaStream withMediaStreamType(MediaStreamType mediaStreamType)
mediaStreamType
- The type of media stream.MediaStreamType
public void setVideoFormat(String videoFormat)
videoFormat
- The resolution of the video.public String getVideoFormat()
public MediaStream withVideoFormat(String videoFormat)
videoFormat
- The resolution of the video.public String toString()
toString
in class Object
Object.toString()
public MediaStream clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.