Class DefaultContentBlockStart
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockruntime.model.ContentBlockStartEvent
-
- software.amazon.awssdk.services.bedrockruntime.model.conversestreamoutput.DefaultContentBlockStart
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ConverseStreamOutput
,ToCopyableBuilder<ContentBlockStartEvent.Builder,ContentBlockStartEvent>
@Generated("software.amazon.awssdk:codegen") public final class DefaultContentBlockStart extends ContentBlockStartEvent
A specialization ofsoftware.amazon.awssdk.services.bedrockruntime.model.ContentBlockStartEvent
that represents theConverseStreamOutput$contentBlockStart
event. Do not use this class directly. Instead, use the static builder methods onConverseStreamOutput
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DefaultContentBlockStart.Builder
-
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
ConverseStreamOutput.EventType
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
UNKNOWN
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ConverseStreamResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofContentBlockStartEvent
.static DefaultContentBlockStart.Builder
builder()
ConverseStreamOutput.EventType
sdkEventType()
The type of this event.DefaultContentBlockStart.Builder
toBuilder()
-
Methods inherited from class software.amazon.awssdk.services.bedrockruntime.model.ContentBlockStartEvent
contentBlockIndex, copy, equals, equalsBySdkFields, getValueForField, hashCode, sdkFields, serializableBuilderClass, start, toString
-
-
-
-
Method Detail
-
toBuilder
public DefaultContentBlockStart.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ContentBlockStartEvent.Builder,ContentBlockStartEvent>
- Overrides:
toBuilder
in classContentBlockStartEvent
-
builder
public static DefaultContentBlockStart.Builder builder()
-
accept
public void accept(ConverseStreamResponseHandler.Visitor visitor)
Description copied from class:ContentBlockStartEvent
Calls the appropriate visit method depending on the subtype ofContentBlockStartEvent
.- Specified by:
accept
in interfaceConverseStreamOutput
- Overrides:
accept
in classContentBlockStartEvent
- Parameters:
visitor
- Visitor to invoke.
-
sdkEventType
public ConverseStreamOutput.EventType sdkEventType()
Description copied from interface:ConverseStreamOutput
The type of this event. Corresponds to the:event-type
header on the Message.
-
-