Class DefaultChunk
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.PayloadPart
software.amazon.awssdk.services.bedrockruntime.model.responsestream.DefaultChunk
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ResponseStream,- ToCopyableBuilder<PayloadPart.Builder,- PayloadPart> 
@SdkInternalApi
@Generated("software.amazon.awssdk:codegen")
public final class DefaultChunk
extends PayloadPart
A specialization of 
software.amazon.awssdk.services.bedrockruntime.model.PayloadPart that represents the
 ResponseStream$chunk event. Do not use this class directly. Instead, use the static builder methods on
 ResponseStream.- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ResponseStreamResponseStream.EventType
- 
Field SummaryFields inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ResponseStreamUNKNOWN
- 
Method SummaryModifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofPayloadPart.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.PayloadPartbytes, copy, equals, equalsBySdkFields, getValueForField, hashCode, sdkFieldNameToField, sdkFields, serializableBuilderClass, toString
- 
Method Details- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<PayloadPart.Builder,- PayloadPart> 
- Overrides:
- toBuilderin class- PayloadPart
- Returns:
- a builder for type T
 
- 
builder
- 
acceptDescription copied from class:PayloadPartCalls the appropriate visit method depending on the subtype ofPayloadPart.- Specified by:
- acceptin interface- ResponseStream
- Overrides:
- acceptin class- PayloadPart
- Parameters:
- visitor- Visitor to invoke.
 
- 
sdkEventTypeDescription copied from interface:ResponseStreamThe type of this event. Corresponds to the:event-typeheader on the Message.
 
-