Class GoogleDaiVodConfiguration.Builder
-
- All Implemented Interfaces:
public final class GoogleDaiVodConfiguration.Builder extends GoogleDaiConfiguration.Builder
The builder for the Google DAI VOD configuration.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
authToken
protected String
streamActivityMonitorID
protected Map<String, String>
adTagParameters
protected String
apiKey
-
Constructor Summary
Constructors Constructor Description GoogleDaiVodConfiguration.Builder(String apiKey, String contentSourceID, String videoID)
-
Method Summary
Modifier and Type Method Description GoogleDaiVodConfiguration.Builder
authToken(String authToken)
Sets the authorization token for the stream request. GoogleDaiVodConfiguration.Builder
streamActivityMonitorID(String streamActivityMonitorID)
Sets the identifier for a stream activity monitor session. GoogleDaiVodConfiguration.Builder
adTagParameters(Map<String, String> adTagParameters)
Sets the ad tag parameters which are added to the stream request. final GoogleDaiVodConfiguration
build()
Builds the Google DAI VOD configuration. -
-
Constructor Detail
-
GoogleDaiVodConfiguration.Builder
GoogleDaiVodConfiguration.Builder(String apiKey, String contentSourceID, String videoID)
- Parameters:
apiKey
- The API key for the stream request.contentSourceID
- The identifier for the video content source for on-demand streams.videoID
- The identifier for the video content source for on-demand streams.
-
-
Method Detail
-
authToken
GoogleDaiVodConfiguration.Builder authToken(String authToken)
Sets the authorization token for the stream request.
For more information, see GoogleDaiConfiguration.getAuthToken.
- Parameters:
authToken
- The authorization token.
-
streamActivityMonitorID
GoogleDaiVodConfiguration.Builder streamActivityMonitorID(String streamActivityMonitorID)
Sets the identifier for a stream activity monitor session.
- Parameters:
streamActivityMonitorID
- The stream activity monitor identifier.
-
adTagParameters
GoogleDaiVodConfiguration.Builder adTagParameters(Map<String, String> adTagParameters)
Sets the ad tag parameters which are added to the stream request.
- Parameters:
adTagParameters
- The ad tag parameters.
-
build
final GoogleDaiVodConfiguration build()
Builds the Google DAI VOD configuration.
-
-
-
-