public static final class WalledGardenInternetObservingStrategy.Builder
extends java.lang.Object
WalledGardenInternetObservingStrategy.| Modifier and Type | Method and Description |
|---|---|
WalledGardenInternetObservingStrategy |
build()
Create an immutable instance of
WalledGardenInternetObservingStrategy using
configured values. |
B |
delay(long delay)
Set the delay for the strategy used in Observable.interval(long, long, java.util.concurrent.TimeUnit).
|
B |
endpoint(java.lang.String endpoint)
Set the endpoint for the strategy.
|
B |
interval(long interval)
Set the interval for the strategy used in Observable.interval(long, long, java.util.concurrent.TimeUnit).
|
B |
timeout(int timeout)
Set the timeout for the strategy.
|
@NonNull public WalledGardenInternetObservingStrategy build()
WalledGardenInternetObservingStrategy using
configured values.@NonNull public B timeout(int timeout)
@NonNull
public B endpoint(@NonNull
java.lang.String endpoint)
@NonNull public B delay(long delay)
@NonNull public B interval(long interval)