Interface SendMessageContentBlockStopEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SendMessageContentBlockStopEvent.Builder,,SendMessageContentBlockStopEvent> SdkBuilder<SendMessageContentBlockStopEvent.Builder,,SendMessageContentBlockStopEvent> SdkPojo
- All Known Subinterfaces:
DefaultContentBlockStop.Builder
- Enclosing class:
SendMessageContentBlockStopEvent
@Mutable
@NotThreadSafe
public static interface SendMessageContentBlockStopEvent.Builder
extends SdkPojo, CopyableBuilder<SendMessageContentBlockStopEvent.Builder,SendMessageContentBlockStopEvent>
-
Method Summary
Modifier and TypeMethodDescriptionZero-based index of the content blockWhether this is the final content block in the responsesequenceNumber(Integer sequenceNumber) Event sequence numberThe accumulated complete content textThe type of content in this blockMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
index
Zero-based index of the content block
- Parameters:
index- Zero-based index of the content block- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of content in this block
- Parameters:
type- The type of content in this block- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
The accumulated complete content text
- Parameters:
text- The accumulated complete content text- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
last
Whether this is the final content block in the response
- Parameters:
last- Whether this is the final content block in the response- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequenceNumber
Event sequence number
- Parameters:
sequenceNumber- Event sequence number- Returns:
- Returns a reference to this object so that method calls can be chained together.
-