Interface Message.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Message.Builder,Message>,SdkBuilder<Message.Builder,Message>,SdkPojo
- Enclosing class:
- Message
public static interface Message.Builder extends SdkPojo, CopyableBuilder<Message.Builder,Message>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Message.Buildercontent(String content)The text of the message.Message.BuildercontentType(String contentType)The content type of the message string.Message.BuildercontentType(ContentType contentType)The content type of the message string.Message.BuildergroupNumber(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 Detail
-
contentType
Message.Builder contentType(String 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,ContentType
-
contentType
Message.Builder contentType(ContentType 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,ContentType
-
content
Message.Builder content(String 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
Message.Builder groupNumber(Integer 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.
-
-