-
- All Implemented Interfaces:
public final class InstreamAdRequestConfiguration.BuilderClass for creating new InstreamAdRequestConfiguration object.
-
-
Constructor Summary
Constructors Constructor Description InstreamAdRequestConfiguration.Builder(String pageId)Creates a new Builder for constructing a InstreamAdRequestConfiguration
-
Method Summary
Modifier and Type Method Description InstreamAdRequestConfigurationbuild()Constructs a InstreamAdRequestConfiguration with specified configurations. InstreamAdRequestConfiguration.BuildersetCategoryId(@NonNull() String categoryId)Sets category id. InstreamAdRequestConfiguration.BuildersetParameters(@NonNull() Map<String, String> parameters)Sets custom request parameters. -
-
Constructor Detail
-
InstreamAdRequestConfiguration.Builder
InstreamAdRequestConfiguration.Builder(String pageId)
Creates a new Builder for constructing a InstreamAdRequestConfiguration- Parameters:
pageId- Unique page ID, created in the Partner interface.
-
-
Method Detail
-
build
InstreamAdRequestConfiguration build()
Constructs a InstreamAdRequestConfiguration with specified configurations.
-
setCategoryId
InstreamAdRequestConfiguration.Builder setCategoryId(@NonNull() String categoryId)
Sets category id.
- Parameters:
categoryId- Category identifier.
-
setParameters
@NonNull() InstreamAdRequestConfiguration.Builder setParameters(@NonNull() Map<String, String> parameters)
Sets custom request parameters.
- Parameters:
parameters- custom parameters.
-
-
-
-