Package com.oracle.bmc.desktops.model
Class DesktopConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.model.DesktopConnection.Builder
-
- Enclosing class:
- DesktopConnection
public static class DesktopConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DesktopConnectionbuild()DesktopConnection.BuilderclientPlatform(String clientPlatform)The platform on which the Secure Desktops client runs.DesktopConnection.BuilderclientType(String clientType)The type of Secure Desktops client connected to a desktop.DesktopConnection.BuilderclientVersion(String clientVersion)The version of the Secure Desktops client connected to a desktop, applicable only to the installed client type.DesktopConnection.Buildercopy(DesktopConnection model)DesktopConnection.BuilderlastAction(DesktopAction lastAction)DesktopConnection.BuildernextAction(DesktopAction nextAction)DesktopConnection.BuildertimeConnected(Date timeConnected)The time when the last connection to a desktop started.DesktopConnection.BuildertimeDisconnected(Date timeDisconnected)The time when the last connection to a desktop ended.
-
-
-
Method Detail
-
timeConnected
public DesktopConnection.Builder timeConnected(Date timeConnected)
The time when the last connection to a desktop started.- Parameters:
timeConnected- the value to set- Returns:
- this builder
-
timeDisconnected
public DesktopConnection.Builder timeDisconnected(Date timeDisconnected)
The time when the last connection to a desktop ended.- Parameters:
timeDisconnected- the value to set- Returns:
- this builder
-
nextAction
public DesktopConnection.Builder nextAction(DesktopAction nextAction)
-
lastAction
public DesktopConnection.Builder lastAction(DesktopAction lastAction)
-
clientType
public DesktopConnection.Builder clientType(String clientType)
The type of Secure Desktops client connected to a desktop.- Parameters:
clientType- the value to set- Returns:
- this builder
-
clientVersion
public DesktopConnection.Builder clientVersion(String clientVersion)
The version of the Secure Desktops client connected to a desktop, applicable only to the installed client type.- Parameters:
clientVersion- the value to set- Returns:
- this builder
-
clientPlatform
public DesktopConnection.Builder clientPlatform(String clientPlatform)
The platform on which the Secure Desktops client runs.- Parameters:
clientPlatform- the value to set- Returns:
- this builder
-
build
public DesktopConnection build()
-
copy
public DesktopConnection.Builder copy(DesktopConnection model)
-
-