public static interface MessageGroup.Builder extends SdkPojo, CopyableBuilder<MessageGroup.Builder,MessageGroup>
| Modifier and Type | Method and Description |
|---|---|
default MessageGroup.Builder |
message(Consumer<Message.Builder> message)
The primary message that Amazon Lex should send to the user.
|
MessageGroup.Builder |
message(Message message)
The primary message that Amazon Lex should send to the user.
|
MessageGroup.Builder |
variations(Collection<Message> variations)
Message variations to send to the user.
|
MessageGroup.Builder |
variations(Consumer<Message.Builder>... variations)
Message variations to send to the user.
|
MessageGroup.Builder |
variations(Message... variations)
Message variations to send to the user.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMessageGroup.Builder message(Message message)
The primary message that Amazon Lex should send to the user.
message - The primary message that Amazon Lex should send to the user.default MessageGroup.Builder message(Consumer<Message.Builder> message)
The primary message that Amazon Lex should send to the user.
This is a convenience method that creates an instance of theMessage.Builder avoiding the need to
create one manually via Message.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to message(Message).
message - a consumer that will call methods on Message.Buildermessage(Message)MessageGroup.Builder variations(Collection<Message> variations)
Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
variations - Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary
message or one of the variations to send to the user.MessageGroup.Builder variations(Message... variations)
Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
variations - Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary
message or one of the variations to send to the user.MessageGroup.Builder variations(Consumer<Message.Builder>... variations)
Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
This is a convenience method that creates an instance of theMessage.Builder avoiding the need to create one
manually via Message.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #variations(List.
variations - a consumer that will call methods on
Message.Builder#variations(java.util.Collection) Copyright © 2023. All rights reserved.