Interface Message.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Message.Builder,
,Message> SdkBuilder<Message.Builder,
,Message> SdkPojo
- Enclosing class:
Message
-
Method Summary
Modifier and TypeMethodDescriptionThe text of the message.contentType
(String contentType) The content type of the message string.contentType
(ContentType contentType) The content type of the message string.groupNumber
(Integer groupNumber) Identifies the message group that the message belongs to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
contentType
The content type of the message string.
- Parameters:
contentType
- The content type of the message string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
The content type of the message string.
- Parameters:
contentType
- The content type of the message string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
content
The text of the message.
- Parameters:
content
- The text of the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupNumber
Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.
- Parameters:
groupNumber
- Identifies the message group that the message belongs to. When a group is assigned to a message, Amazon Lex returns one message from each group in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-