public static interface Message.Builder extends SdkPojo, CopyableBuilder<Message.Builder,Message>
| Modifier and Type | Method and Description |
|---|---|
Message.Builder |
content(String content)
The text of the message.
|
Message.Builder |
contentType(MessageContentType contentType)
Indicates the type of response.
|
Message.Builder |
contentType(String contentType)
Indicates the type of response.
|
default Message.Builder |
imageResponseCard(Consumer<ImageResponseCard.Builder> imageResponseCard)
Sets the value of the ImageResponseCard property for this object.
|
Message.Builder |
imageResponseCard(ImageResponseCard imageResponseCard)
Sets the value of the ImageResponseCard property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMessage.Builder content(String content)
The text of the message.
content - The text of the message.Message.Builder contentType(String contentType)
Indicates the type of response.
contentType - Indicates the type of response.MessageContentType,
MessageContentTypeMessage.Builder contentType(MessageContentType contentType)
Indicates the type of response.
contentType - Indicates the type of response.MessageContentType,
MessageContentTypeMessage.Builder imageResponseCard(ImageResponseCard imageResponseCard)
imageResponseCard - The new value for the ImageResponseCard property for this object.default Message.Builder imageResponseCard(Consumer<ImageResponseCard.Builder> imageResponseCard)
ImageResponseCard.Builder avoiding the
need to create one manually via ImageResponseCard.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to imageResponseCard(ImageResponseCard).
imageResponseCard - a consumer that will call methods on ImageResponseCard.BuilderimageResponseCard(ImageResponseCard)Copyright © 2023. All rights reserved.