public static class DisconnectConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DisconnectConfig.Builder |
action(DisconnectConfig.Action action)
a disconnect action to be triggered
|
DisconnectConfig |
build() |
DisconnectConfig.Builder |
copy(DisconnectConfig model) |
DisconnectConfig.Builder |
gracePeriodInMinutes(Integer gracePeriodInMinutes)
The period of time (in minutes) after disconnect before any action occurs.
|
public DisconnectConfig.Builder action(DisconnectConfig.Action action)
a disconnect action to be triggered
action
- the value to setpublic DisconnectConfig.Builder gracePeriodInMinutes(Integer gracePeriodInMinutes)
The period of time (in minutes) after disconnect before any action occurs. If the value is not provided, a default value is used.
gracePeriodInMinutes
- the value to setpublic DisconnectConfig build()
public DisconnectConfig.Builder copy(DisconnectConfig model)
Copyright © 2016–2024. All rights reserved.