public static class SessionTimerOptions.Builder extends Object
SessionTimerOptions
values.
The session interval value is mandatory, but callers may also specify optional
Min-SE and refresher values. Create a new SessionTimerOptions.Builder
using
SessionTimerOptions.builder(int)
.Modifier and Type | Method and Description |
---|---|
SessionTimerOptions |
build()
Builds a new
SessionTimerOptions value using the values passed to this builder |
SessionTimerOptions.Builder |
minSE(int minSE)
Adds a Min-SE value that will be used in the final
SessionTimerOptions value |
SessionTimerOptions.Builder |
refresher(Refresher refresher)
Adds a
Refresher value that will be used in the final SessionTimerOptions value |
public SessionTimerOptions.Builder minSE(int minSE)
SessionTimerOptions
valueminSE
- the Min-SE valuepublic SessionTimerOptions.Builder refresher(Refresher refresher)
Refresher
value that will be used in the final SessionTimerOptions
valuerefresher
- the refresher valuepublic SessionTimerOptions build()
SessionTimerOptions
value using the values passed to this builderSessionTimerOptions
valueIllegalArgumentException
- if any parameters were not valid: