Class ResponseChunk.BuilderImpl
java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.model.ResponseChunk.BuilderImpl
- All Implemented Interfaces:
SdkPojo,ResponseChunk.Builder,Buildable,CopyableBuilder<ResponseChunk.Builder,,ResponseChunk> SdkBuilder<ResponseChunk.Builder,ResponseChunk>
- Enclosing class:
- ResponseChunk
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()final ResponseChunk.BuildercontentDelta(ContentDeltaEvent contentDelta) An event containing incremental output (stdout or stderr) from the command execution.final ResponseChunk.BuildercontentStart(ContentStartEvent contentStart) An event indicating the start of content streaming from the command execution.final ResponseChunk.BuildercontentStop(ContentStopEvent contentStop) An event indicating the completion of the command execution, including the exit code and final status.final ContentStopEvent.Builderfinal voidsetContentDelta(software.amazon.awssdk.services.bedrockagentcore.model.ContentDeltaEvent.BuilderImpl contentDelta) final voidsetContentStart(software.amazon.awssdk.services.bedrockagentcore.model.ContentStartEvent.BuilderImpl contentStart) final voidsetContentStop(software.amazon.awssdk.services.bedrockagentcore.model.ContentStopEvent.BuilderImpl contentStop) 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.services.bedrockagentcore.model.ResponseChunk.Builder
contentDelta, contentStart, contentStopMethods 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
-
getContentStart
-
setContentStart
public final void setContentStart(software.amazon.awssdk.services.bedrockagentcore.model.ContentStartEvent.BuilderImpl contentStart) -
contentStart
Description copied from interface:ResponseChunk.BuilderAn event indicating the start of content streaming from the command execution. This is the first chunk received.
- Specified by:
contentStartin interfaceResponseChunk.Builder- Parameters:
contentStart- An event indicating the start of content streaming from the command execution. This is the first chunk received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getContentDelta
-
setContentDelta
public final void setContentDelta(software.amazon.awssdk.services.bedrockagentcore.model.ContentDeltaEvent.BuilderImpl contentDelta) -
contentDelta
Description copied from interface:ResponseChunk.BuilderAn event containing incremental output (stdout or stderr) from the command execution. These are the middle chunks.
- Specified by:
contentDeltain interfaceResponseChunk.Builder- Parameters:
contentDelta- An event containing incremental output (stdout or stderr) from the command execution. These are the middle chunks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getContentStop
-
setContentStop
public final void setContentStop(software.amazon.awssdk.services.bedrockagentcore.model.ContentStopEvent.BuilderImpl contentStop) -
contentStop
Description copied from interface:ResponseChunk.BuilderAn event indicating the completion of the command execution, including the exit code and final status. This is the last chunk received.
- Specified by:
contentStopin interfaceResponseChunk.Builder- Parameters:
contentStop- An event indicating the completion of the command execution, including the exit code and final status. This is the last chunk received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<ResponseChunk.Builder,ResponseChunk>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-