public static class AgamaSourceConfiguration.Builder extends Object
Modifier and Type | Method and Description |
---|---|
static AgamaSourceConfiguration.Builder |
agamaSourceConfiguration(String asset,
StreamType streamType)
Creates a builder for the Agama source configuration.
|
AgamaSourceConfiguration |
build()
Builds the Agama source configuration.
|
AgamaSourceConfiguration.Builder |
cdn(String cdn)
Sets the CDN from which the content is served.
|
AgamaSourceConfiguration.Builder |
contentDescription(String contentDescription)
Sets the description of the content.
|
AgamaSourceConfiguration.Builder |
contentTitle(String contentTitle)
Sets the title of the content.
|
AgamaSourceConfiguration.Builder |
contentType(String contentType)
Sets the type of the content.
|
AgamaSourceConfiguration.Builder |
serviceName(AgamaServiceName serviceName)
Sets the
AgamaServiceName . |
public static AgamaSourceConfiguration.Builder agamaSourceConfiguration(String asset, StreamType streamType)
asset
- The identifier of the asset. (NonNull)streamType
- The StreamType
of the session. (NonNull)public AgamaSourceConfiguration.Builder cdn(String cdn)
cdn
- The CDN. (NonNull)- "cloudflare"
public AgamaSourceConfiguration.Builder contentTitle(String contentTitle)
contentTitle
- The content title. (NonNull)- The format is 'title' or 'title/season' or 'title/season/episode'.
- "Game of Thrones/Season 4/Episode 7"
public AgamaSourceConfiguration.Builder contentType(String contentType)
contentType
- The content type. (NonNull)- Suggested values are 'trailer', 'movie', 'news', 'documentary', ...
public AgamaSourceConfiguration.Builder contentDescription(String contentDescription)
contentDescription
- The content description. (NonNull)public AgamaSourceConfiguration.Builder serviceName(AgamaServiceName serviceName)
AgamaServiceName
.serviceName
- The Agama service name. (NonNull)public AgamaSourceConfiguration build()