Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Session |
build() |
Session.Builder |
copy(Session model) |
Session.Builder |
description(String description)
A description of the session.
|
Session.Builder |
displayName(String displayName)
A user-friendly name.
|
Session.Builder |
id(String id)
A unique ID for the session.
|
Session.Builder |
timeCreated(Date timeCreated)
The date and time that the session started in the format of an RFC3339 datetime string.
|
Session.Builder |
timeUpdated(Date timeUpdated)
The date and time that the session was last updated in the format of an RFC3339 datetime
string.
|
Session.Builder |
welcomeMessage(String welcomeMessage)
A greeting message that the you receive when you start of a session.
|
public Session.Builder id(String id)
A unique ID for the session. This ID is immutable on creation.
id
- the value to setpublic Session.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic Session.Builder description(String description)
A description of the session.
description
- the value to setpublic Session.Builder welcomeMessage(String welcomeMessage)
A greeting message that the you receive when you start of a session.
welcomeMessage
- the value to setpublic Session.Builder timeCreated(Date timeCreated)
The date and time that the session started in the format of an RFC3339 datetime string.
timeCreated
- the value to setpublic Session.Builder timeUpdated(Date timeUpdated)
The date and time that the session was last updated in the format of an RFC3339 datetime string.
timeUpdated
- the value to setpublic Session build()
public Session.Builder copy(Session model)
Copyright © 2016–2024. All rights reserved.