@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddMediaStreamRequest extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
AddMediaStreamRequest() |
Modifier and Type | Method and Description |
---|---|
AddMediaStreamRequest |
clone() |
boolean |
equals(Object obj) |
MediaStreamAttributesRequest |
getAttributes()
The attributes that you want to assign to the new media stream.
|
Integer |
getClockRate()
The sample rate (in Hz) for the stream.
|
String |
getDescription()
A description that can help you quickly identify what your media stream is used for.
|
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(MediaStreamAttributesRequest attributes)
The attributes that you want to assign to the new media stream.
|
void |
setClockRate(Integer clockRate)
The sample rate (in Hz) for the stream.
|
void |
setDescription(String description)
A description that can help you quickly identify what your media stream is used for.
|
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.
|
AddMediaStreamRequest |
withAttributes(MediaStreamAttributesRequest attributes)
The attributes that you want to assign to the new media stream.
|
AddMediaStreamRequest |
withClockRate(Integer clockRate)
The sample rate (in Hz) for the stream.
|
AddMediaStreamRequest |
withDescription(String description)
A description that can help you quickly identify what your media stream is used for.
|
AddMediaStreamRequest |
withMediaStreamId(Integer mediaStreamId)
A unique identifier for the media stream.
|
AddMediaStreamRequest |
withMediaStreamName(String mediaStreamName)
A name that helps you distinguish one media stream from another.
|
AddMediaStreamRequest |
withMediaStreamType(MediaStreamType mediaStreamType)
The type of media stream.
|
AddMediaStreamRequest |
withMediaStreamType(String mediaStreamType)
The type of media stream.
|
AddMediaStreamRequest |
withVideoFormat(String videoFormat)
The resolution of the video.
|
public void setAttributes(MediaStreamAttributesRequest attributes)
attributes
- The attributes that you want to assign to the new media stream.public MediaStreamAttributesRequest getAttributes()
public AddMediaStreamRequest withAttributes(MediaStreamAttributesRequest attributes)
attributes
- The attributes that you want to assign to the new media stream.public void setClockRate(Integer clockRate)
clockRate
- The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this
value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.public Integer getClockRate()
public AddMediaStreamRequest withClockRate(Integer clockRate)
clockRate
- The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this
value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.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 AddMediaStreamRequest withDescription(String description)
description
- A description that can help you quickly identify what your media stream is used for.public void setMediaStreamId(Integer mediaStreamId)
mediaStreamId
- A unique identifier for the media stream.public Integer getMediaStreamId()
public AddMediaStreamRequest 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 AddMediaStreamRequest 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 AddMediaStreamRequest withMediaStreamType(String mediaStreamType)
mediaStreamType
- The type of media stream.MediaStreamType
public AddMediaStreamRequest 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 AddMediaStreamRequest withVideoFormat(String videoFormat)
videoFormat
- The resolution of the video.public String toString()
toString
in class Object
Object.toString()
public AddMediaStreamRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.