Interface ConverseOutput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConverseOutput.Builder,
,ConverseOutput> SdkBuilder<ConverseOutput.Builder,
,ConverseOutput> SdkPojo
- Enclosing class:
ConverseOutput
@Mutable
@NotThreadSafe
public static interface ConverseOutput.Builder
extends SdkPojo, CopyableBuilder<ConverseOutput.Builder,ConverseOutput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConverseOutput.Builder
message
(Consumer<Message.Builder> message) The message that the model generates.The message that the model generates.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, sdkFieldNameToField, sdkFields
-
Method Details
-
message
The message that the model generates.
- Parameters:
message
- The message that the model generates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
The message that the model generates.
This is a convenience method that creates an instance of theMessage.Builder
avoiding the need to create one manually viaMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomessage(Message)
.- Parameters:
message
- a consumer that will call methods onMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-