protected abstract static class Catalog.AbstractBuilder<T extends Catalog.AbstractBuilder<T>>
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBuilder(EventEmitter eventEmitter,
java.lang.String account) |
| Modifier and Type | Method and Description |
|---|---|
Catalog |
build()
Builds the Catalog object.
|
protected abstract T |
self()
Returns the instance of itself.
|
T |
setBaseURL(java.lang.String baseURL)
Sets the base url used to make Catalog request to retrieve the Videos and Playlists.
|
T |
setPolicy(java.lang.String policy)
Sets the Poly Key associated with the Account
|
protected AbstractBuilder(@NonNull
EventEmitter eventEmitter,
@NonNull
java.lang.String account)
protected abstract T self()
public T setPolicy(@NonNull java.lang.String policy)
policy - the policy keypublic T setBaseURL(@NonNull java.lang.String baseURL)
baseURL - the base urlpublic Catalog build()