Class DefaultChunk
java.lang.Object
software.amazon.awssdk.services.bedrockagentruntime.model.InlineAgentPayloadPart
software.amazon.awssdk.services.bedrockagentruntime.model.inlineagentresponsestream.DefaultChunk
- All Implemented Interfaces:
Serializable,SdkPojo,InlineAgentResponseStream,ToCopyableBuilder<InlineAgentPayloadPart.Builder,InlineAgentPayloadPart>
@SdkInternalApi
@Generated("software.amazon.awssdk:codegen")
public final class DefaultChunk
extends InlineAgentPayloadPart
A specialization of
software.amazon.awssdk.services.bedrockagentruntime.model.InlineAgentPayloadPart that
represents the InlineAgentResponseStream$chunk event. Do not use this class directly. Instead, use the static
builder methods on InlineAgentResponseStream.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.InlineAgentResponseStream
InlineAgentResponseStream.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.InlineAgentResponseStream
UNKNOWN -
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofInlineAgentPayloadPart.static DefaultChunk.Builderbuilder()The type of this event.Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class software.amazon.awssdk.services.bedrockagentruntime.model.InlineAgentPayloadPart
attribution, bytes, copy, equals, equalsBySdkFields, getValueForField, hashCode, sdkFieldNameToField, sdkFields, serializableBuilderClass, toString
-
Method Details
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<InlineAgentPayloadPart.Builder,InlineAgentPayloadPart> - Overrides:
toBuilderin classInlineAgentPayloadPart- Returns:
- a builder for type T
-
builder
-
accept
Description copied from class:InlineAgentPayloadPartCalls the appropriate visit method depending on the subtype ofInlineAgentPayloadPart.- Specified by:
acceptin interfaceInlineAgentResponseStream- Overrides:
acceptin classInlineAgentPayloadPart- Parameters:
visitor- Visitor to invoke.
-
sdkEventType
Description copied from interface:InlineAgentResponseStreamThe type of this event. Corresponds to the:event-typeheader on the Message.
-