Class DefaultChunk
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.BidirectionalOutputPayloadPart
software.amazon.awssdk.services.bedrockruntime.model.invokemodelwithbidirectionalstreamoutput.DefaultChunk
- All Implemented Interfaces:
Serializable,SdkPojo,InvokeModelWithBidirectionalStreamOutput,ToCopyableBuilder<BidirectionalOutputPayloadPart.Builder,BidirectionalOutputPayloadPart>
@Generated("software.amazon.awssdk:codegen")
public final class DefaultChunk
extends BidirectionalOutputPayloadPart
A specialization of
software.amazon.awssdk.services.bedrockruntime.model.BidirectionalOutputPayloadPart that
represents the InvokeModelWithBidirectionalStreamOutput$chunk event. Do not use this class directly. Instead,
use the static builder methods on
InvokeModelWithBidirectionalStreamOutput.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockruntime.model.InvokeModelWithBidirectionalStreamOutput
InvokeModelWithBidirectionalStreamOutput.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.bedrockruntime.model.InvokeModelWithBidirectionalStreamOutput
UNKNOWN -
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofBidirectionalOutputPayloadPart.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.bedrockruntime.model.BidirectionalOutputPayloadPart
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<BidirectionalOutputPayloadPart.Builder,BidirectionalOutputPayloadPart> - Overrides:
toBuilderin classBidirectionalOutputPayloadPart- Returns:
- a builder for type T
-
builder
-
accept
Description copied from class:BidirectionalOutputPayloadPartCalls the appropriate visit method depending on the subtype ofBidirectionalOutputPayloadPart.- Specified by:
acceptin interfaceInvokeModelWithBidirectionalStreamOutput- Overrides:
acceptin classBidirectionalOutputPayloadPart- Parameters:
visitor- Visitor to invoke.
-
sdkEventType
Description copied from interface:InvokeModelWithBidirectionalStreamOutputThe type of this event. Corresponds to the:event-typeheader on the Message.
-