Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Message |
build() |
Message.Builder |
content(MessageContent content) |
Message.Builder |
copy(Message model) |
Message.Builder |
role(Message.Role role)
The role of the sender of this message.
|
Message.Builder |
timeCreated(Date timeCreated)
The date and time that the message was created in the format of an RFC3339 datetime
string.
|
public Message.Builder role(Message.Role role)
The role of the sender of this message.
role
- the value to setpublic Message.Builder content(MessageContent content)
public Message.Builder timeCreated(Date timeCreated)
The date and time that the message was created in the format of an RFC3339 datetime string.
timeCreated
- the value to setpublic Message build()
public Message.Builder copy(Message model)
Copyright © 2016–2024. All rights reserved.