Interface MessageStopEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MessageStopEvent.Builder,MessageStopEvent>,SdkBuilder<MessageStopEvent.Builder,MessageStopEvent>,SdkPojo
- All Known Subinterfaces:
DefaultMessageStop.Builder
- All Known Implementing Classes:
MessageStopEvent.BuilderImpl
- Enclosing class:
- MessageStopEvent
public static interface MessageStopEvent.Builder extends SdkPojo, CopyableBuilder<MessageStopEvent.Builder,MessageStopEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageStopEvent.BuilderadditionalModelResponseFields(Document additionalModelResponseFields)The additional model response fields.MessageStopEvent.BuilderstopReason(String stopReason)The reason why the model stopped generating output.MessageStopEvent.BuilderstopReason(StopReason stopReason)The reason why the model stopped generating output.-
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
-
stopReason
MessageStopEvent.Builder stopReason(String stopReason)
The reason why the model stopped generating output.
- Parameters:
stopReason- The reason why the model stopped generating output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StopReason,StopReason
-
stopReason
MessageStopEvent.Builder stopReason(StopReason stopReason)
The reason why the model stopped generating output.
- Parameters:
stopReason- The reason why the model stopped generating output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StopReason,StopReason
-
additionalModelResponseFields
MessageStopEvent.Builder additionalModelResponseFields(Document additionalModelResponseFields)
The additional model response fields.
- Parameters:
additionalModelResponseFields- The additional model response fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-