Class DefaultToolCall
java.lang.Object
software.amazon.awssdk.services.assurance.model.ChatToolCallEvent
software.amazon.awssdk.services.assurance.model.chateventstream.DefaultToolCall
- All Implemented Interfaces:
Serializable,SdkPojo,ChatEventStream,ToCopyableBuilder<ChatToolCallEvent.Builder,ChatToolCallEvent>
@SdkInternalApi
@Generated("software.amazon.awssdk:codegen")
public final class DefaultToolCall
extends ChatToolCallEvent
A specialization of
software.amazon.awssdk.services.assurance.model.ChatToolCallEvent that represents the
ChatEventStream$toolCall event. Do not use this class directly. Instead, use the static builder methods on
ChatEventStream.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface software.amazon.awssdk.services.assurance.model.ChatEventStream
ChatEventStream.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.assurance.model.ChatEventStream
UNKNOWN -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ChatResponseHandler.Visitor visitor) Calls the appropriate visit method depending on the subtype ofChatToolCallEvent.static DefaultToolCall.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.assurance.model.ChatToolCallEvent
copy, equals, equalsBySdkFields, eventDescription, getValueForField, hashCode, message, 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<ChatToolCallEvent.Builder,ChatToolCallEvent> - Overrides:
toBuilderin classChatToolCallEvent- Returns:
- a builder for type T
-
builder
-
accept
Description copied from class:ChatToolCallEventCalls the appropriate visit method depending on the subtype ofChatToolCallEvent.- Specified by:
acceptin interfaceChatEventStream- Overrides:
acceptin classChatToolCallEvent- Parameters:
visitor- Visitor to invoke.
-
sdkEventType
Description copied from interface:ChatEventStreamThe type of this event. Corresponds to the:event-typeheader on the Message.
-