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.InlineAgentPayloadPartthat represents theInlineAgentResponseStream$chunkevent. 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 interfaceDefaultChunk.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 voidaccept(InvokeInlineAgentResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofInlineAgentPayloadPart.static DefaultChunk.Builderbuilder()InlineAgentResponseStream.EventTypesdkEventType()The type of this event.DefaultChunk.BuildertoBuilder()-
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:
toBuilderin interfaceToCopyableBuilder<InlineAgentPayloadPart.Builder,InlineAgentPayloadPart>- Overrides:
toBuilderin classInlineAgentPayloadPart
-
builder
public static DefaultChunk.Builder builder()
-
accept
public void accept(InvokeInlineAgentResponseHandler.Visitor visitor)
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
public InlineAgentResponseStream.EventType sdkEventType()
Description copied from interface:InlineAgentResponseStreamThe type of this event. Corresponds to the:event-typeheader on the Message.
-
-