Interface MessageOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MessageOutput.Builder,,MessageOutput> SdkBuilder<MessageOutput.Builder,,MessageOutput> SdkPojo
- Enclosing class:
MessageOutput
@Mutable
@NotThreadSafe
public static interface MessageOutput.Builder
extends SdkPojo, CopyableBuilder<MessageOutput.Builder,MessageOutput>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of a message.participant(String participant) The participant of a message.participant(Participant participant) The participant of a message.The timestamp of a message.default MessageOutput.Buildervalue(Consumer<MessageData.Builder> value) The value of a message data.value(MessageData value) The value of a message data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
value
The value of a message data.
- Parameters:
value- The value of a message data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value of a message data.
This is a convenience method that creates an instance of theMessageData.Builderavoiding the need to create one manually viaMessageData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(MessageData).- Parameters:
value- a consumer that will call methods onMessageData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messageId
The identifier of a message.
- Parameters:
messageId- The identifier of a message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participant
The participant of a message.
- Parameters:
participant- The participant of a message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
participant
The participant of a message.
- Parameters:
participant- The participant of a message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timestamp
The timestamp of a message.
- Parameters:
timestamp- The timestamp of a message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-