protected abstract static class GoogleDaiConfiguration.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,String> |
adTagParameters |
protected String |
apiKey |
protected String |
authToken |
protected SourceType |
sourceType |
protected String |
streamActivityMonitorID |
Constructor and Description |
---|
Builder(String apiKey)
Creates a builder for the Google DAI configuration.
|
Modifier and Type | Method and Description |
---|---|
GoogleDaiConfiguration.Builder |
adTagParameters(Map<String,String> adTagParameters)
Sets the ad tag parameters which are added to the stream request.
|
GoogleDaiConfiguration.Builder |
authToken(String authToken)
Sets the authorization token for the stream request.
|
GoogleDaiConfiguration.Builder |
sourceType(SourceType sourceType)
Deprecated.
Superseded by
TypedSource.Builder#type(SourceType) , since v2.72.0.
Sets the type of the source. |
GoogleDaiConfiguration.Builder |
streamActivityMonitorID(String streamActivityMonitorID)
Sets the identifier for a stream activity monitor session.
|
protected String apiKey
protected String authToken
protected String streamActivityMonitorID
protected SourceType sourceType
public Builder(String apiKey)
apiKey
- The API key for the stream request. (NonNull)public GoogleDaiConfiguration.Builder authToken(String authToken)
authToken
- The authorization token. (NonNull)
- For more information, see GoogleDaiConfiguration.getAuthToken()
.
public GoogleDaiConfiguration.Builder streamActivityMonitorID(String streamActivityMonitorID)
streamActivityMonitorID
- The stream activity monitor identifier. (NonNull)public GoogleDaiConfiguration.Builder adTagParameters(Map<String,String> adTagParameters)
adTagParameters
- The ad tag parameters. (NonNull)@Deprecated public GoogleDaiConfiguration.Builder sourceType(SourceType sourceType)
TypedSource.Builder#type(SourceType)
, since v2.72.0.
sourceType
- The SourceType
. (NonNull)