Package com.atlan.model.admin
Class Session.SessionBuilder<C extends Session,B extends Session.SessionBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.admin.Session.SessionBuilder<C,B>
- Enclosing class:
- Session
public abstract static class Session.SessionBuilder<C extends Session,B extends Session.SessionBuilder<C,B>>
extends AtlanObject.AtlanObjectBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) abstract C
build()
Map of clientId (GUIDs) to client names.Unique identifier (GUID) for the session.IP address from which the session originated.lastAccess
(Long lastAccess) Time (epoch) at which the session was last used, in nanoseconds.protected abstract B
self()
Time (epoch) at which the session was created, in nanoseconds.toString()
Unique identifier (GUID) of the user that started the session.Username of the user that started the session.Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
SessionBuilder
public SessionBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends Session,
B extends Session.SessionBuilder<C, B>>
-
clients
Map of clientId (GUIDs) to client names.- Returns:
this
.
-
id
Unique identifier (GUID) for the session.- Returns:
this
.
-
ipAddress
IP address from which the session originated.- Returns:
this
.
-
lastAccess
Time (epoch) at which the session was last used, in nanoseconds.- Returns:
this
.
-
start
Time (epoch) at which the session was created, in nanoseconds.- Returns:
this
.
-
userId
Unique identifier (GUID) of the user that started the session.- Returns:
this
.
-
username
Username of the user that started the session.- Returns:
this
.
-
self
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends Session,
B extends Session.SessionBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends Session,
B extends Session.SessionBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends Session,
B extends Session.SessionBuilder<C, B>>
-