Class Session.Builder
- java.lang.Object
- 
- com.oracle.bmc.generativeaiagentruntime.model.Session.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Sessionbuild()Session.Buildercopy(Session model)Session.Builderdescription(String description)A description of the session.Session.BuilderdisplayName(String displayName)A user-friendly name.Session.Builderid(String id)A unique ID for the session.Session.BuildertimeCreated(Date timeCreated)The date and time that the session started in the format of an RFC3339 datetime string.Session.BuildertimeUpdated(Date timeUpdated)The date and time that the session was last updated in the format of an RFC3339 datetime string.Session.BuilderwelcomeMessage(String welcomeMessage)A greeting message that the you receive when you start of a session.
 
- 
- 
- 
Method Detail- 
idpublic 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
 
 - 
displayNamepublic 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
 
 - 
descriptionpublic Session.Builder description(String description) A description of the session.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
welcomeMessagepublic 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
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
buildpublic Session build() 
 - 
copypublic Session.Builder copy(Session model) 
 
- 
 
-