Package video.api.client.api.models
Class RestreamsRequestObject
- java.lang.Object
-
- video.api.client.api.models.RestreamsRequestObject
-
- All Implemented Interfaces:
Serializable,DeepObject
public class RestreamsRequestObject extends Object implements Serializable, DeepObject
Adding restream destinations is optional. However, if you set a restream destination, you must provide all attributes for each destination.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_SERVER_URLstatic StringSERIALIZED_NAME_STREAM_KEY
-
Constructor Summary
Constructors Constructor Description RestreamsRequestObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()Use this parameter to define a name for the restream destination.StringgetServerUrl()Use this parameter to set the `RTMPS` or `RTMP` server URL of the restream destination.StringgetStreamKey()Use this parameter to provide the unique key of the live stream that you want to restream.inthashCode()RestreamsRequestObjectname(String name)RestreamsRequestObjectserverUrl(String serverUrl)voidsetName(String name)voidsetServerUrl(String serverUrl)voidsetStreamKey(String streamKey)RestreamsRequestObjectstreamKey(String streamKey)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SERVER_URL
public static final String SERIALIZED_NAME_SERVER_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STREAM_KEY
public static final String SERIALIZED_NAME_STREAM_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public RestreamsRequestObject name(String name)
-
getName
public String getName()
Use this parameter to define a name for the restream destination.- Returns:
- name
-
setName
public void setName(String name)
-
serverUrl
public RestreamsRequestObject serverUrl(String serverUrl)
-
getServerUrl
public String getServerUrl()
Use this parameter to set the `RTMPS` or `RTMP` server URL of the restream destination.- Returns:
- serverUrl
-
setServerUrl
public void setServerUrl(String serverUrl)
-
streamKey
public RestreamsRequestObject streamKey(String streamKey)
-
getStreamKey
public String getStreamKey()
Use this parameter to provide the unique key of the live stream that you want to restream.- Returns:
- streamKey
-
setStreamKey
public void setStreamKey(String streamKey)
-
-