Class MessageStopEvent.BuilderImpl
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.MessageStopEvent.BuilderImpl
- All Implemented Interfaces:
SdkPojo,MessageStopEvent.Builder,Buildable,CopyableBuilder<MessageStopEvent.Builder,,MessageStopEvent> SdkBuilder<MessageStopEvent.Builder,MessageStopEvent>
- Enclosing class:
- MessageStopEvent
protected static class MessageStopEvent.BuilderImpl
extends Object
implements MessageStopEvent.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal MessageStopEvent.BuilderadditionalModelResponseFields(Document additionalModelResponseFields) The additional model response fields.build()final Documentfinal Stringfinal voidsetAdditionalModelResponseFields(Document additionalModelResponseFields) final voidsetStopReason(String stopReason) final MessageStopEvent.BuilderstopReason(String stopReason) The reason why the model stopped generating output.final MessageStopEvent.BuilderstopReason(StopReason stopReason) The reason why the model stopped generating output.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutationMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
Constructor Details
-
BuilderImpl
protected BuilderImpl() -
BuilderImpl
-
-
Method Details
-
getStopReason
-
setStopReason
-
stopReason
Description copied from interface:MessageStopEvent.BuilderThe reason why the model stopped generating output.
- Specified by:
stopReasonin interfaceMessageStopEvent.Builder- 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
Description copied from interface:MessageStopEvent.BuilderThe reason why the model stopped generating output.
- Specified by:
stopReasonin interfaceMessageStopEvent.Builder- 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:
-
getAdditionalModelResponseFields
-
setAdditionalModelResponseFields
-
additionalModelResponseFields
public final MessageStopEvent.Builder additionalModelResponseFields(Document additionalModelResponseFields) Description copied from interface:MessageStopEvent.BuilderThe additional model response fields.
- Specified by:
additionalModelResponseFieldsin interfaceMessageStopEvent.Builder- Parameters:
additionalModelResponseFields- The additional model response fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<MessageStopEvent.Builder,MessageStopEvent>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-