Package com.oracle.bmc.desktops.model
Class InactivityConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.model.InactivityConfig.Builder
-
- Enclosing class:
- InactivityConfig
public static class InactivityConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InactivityConfig.Builderaction(InactivityConfig.Action action)an inactivity action to be triggeredInactivityConfigbuild()InactivityConfig.Buildercopy(InactivityConfig model)InactivityConfig.BuildergracePeriodInMinutes(Integer gracePeriodInMinutes)The period of time (in minutes) during which the session must remain inactive before any action occurs.
-
-
-
Method Detail
-
action
public InactivityConfig.Builder action(InactivityConfig.Action action)
an inactivity action to be triggered- Parameters:
action- the value to set- Returns:
- this builder
-
gracePeriodInMinutes
public InactivityConfig.Builder gracePeriodInMinutes(Integer gracePeriodInMinutes)
The period of time (in minutes) during which the session must remain inactive before any action occurs.If the value is not provided, a default value is used.
- Parameters:
gracePeriodInMinutes- the value to set- Returns:
- this builder
-
build
public InactivityConfig build()
-
copy
public InactivityConfig.Builder copy(InactivityConfig model)
-
-