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 Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(MessageStopEvent model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageStopEvent.BuilderadditionalModelResponseFields(Document additionalModelResponseFields)The additional model response fields.MessageStopEventbuild()DocumentgetAdditionalModelResponseFields()StringgetStopReason()List<SdkField<?>>sdkFields()voidsetAdditionalModelResponseFields(Document additionalModelResponseFields)voidsetStopReason(String stopReason)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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(MessageStopEvent model)
-
-
Method Detail
-
getStopReason
public final String getStopReason()
-
setStopReason
public final void setStopReason(String stopReason)
-
stopReason
public final MessageStopEvent.Builder stopReason(String 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,StopReason
-
stopReason
public final MessageStopEvent.Builder stopReason(StopReason 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,StopReason
-
getAdditionalModelResponseFields
public final Document getAdditionalModelResponseFields()
-
setAdditionalModelResponseFields
public final void setAdditionalModelResponseFields(Document additionalModelResponseFields)
-
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
public MessageStopEvent build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<MessageStopEvent.Builder,MessageStopEvent>
-
-