Class Session.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiagentruntime.model.Session.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public Session.Builder id(String id)
A unique ID for the session.This ID is immutable on creation.
- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public Session.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public Session.Builder description(String description)
A description of the session.- Parameters:
description
- the value to set- Returns:
- this builder
-
welcomeMessage
public Session.Builder welcomeMessage(String welcomeMessage)
A greeting message that the you receive when you start of a session.- Parameters:
welcomeMessage
- the value to set- Returns:
- this builder
-
timeCreated
public Session.Builder timeCreated(Date timeCreated)
The date and time that the session started in the format of an RFC3339 datetime string.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public Session.Builder timeUpdated(Date timeUpdated)
The date and time that the session was last updated in the format of an RFC3339 datetime string.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
build
public Session build()
-
copy
public Session.Builder copy(Session model)
-
-