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>
@Generated("software.amazon.awssdk:codegen") public final class DefaultChunk extends InlineAgentPayloadPart
A specialization ofsoftware.amazon.awssdk.services.bedrockagentruntime.model.InlineAgentPayloadPart
that represents theInlineAgentResponseStream$chunk
event. Do not use this class directly. Instead, use the static builder methods onInlineAgentResponseStream
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DefaultChunk.Builder
-
Nested 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(InvokeInlineAgentResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofInlineAgentPayloadPart
.static DefaultChunk.Builder
builder()
InlineAgentResponseStream.EventType
sdkEventType()
The type of this event.DefaultChunk.Builder
toBuilder()
-
Methods inherited from class software.amazon.awssdk.services.bedrockagentruntime.model.InlineAgentPayloadPart
attribution, bytes, copy, equals, equalsBySdkFields, getValueForField, hashCode, sdkFieldNameToField, sdkFields, serializableBuilderClass, toString
-
-
-
-
Method Detail
-
toBuilder
public DefaultChunk.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<InlineAgentPayloadPart.Builder,InlineAgentPayloadPart>
- Overrides:
toBuilder
in classInlineAgentPayloadPart
-
builder
public static DefaultChunk.Builder builder()
-
accept
public void accept(InvokeInlineAgentResponseHandler.Visitor visitor)
Description copied from class:InlineAgentPayloadPart
Calls the appropriate visit method depending on the subtype ofInlineAgentPayloadPart
.- Specified by:
accept
in interfaceInlineAgentResponseStream
- Overrides:
accept
in classInlineAgentPayloadPart
- Parameters:
visitor
- Visitor to invoke.
-
sdkEventType
public InlineAgentResponseStream.EventType sdkEventType()
Description copied from interface:InlineAgentResponseStream
The type of this event. Corresponds to the:event-type
header on the Message.
-
-