Class ConverseApiUtils.ToolUseAggregationEvent

java.lang.Object
org.springframework.ai.bedrock.converse.api.ConverseApiUtils.ToolUseAggregationEvent
All Implemented Interfaces:
software.amazon.awssdk.core.SdkPojo, software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
Enclosing class:
ConverseApiUtils

public static class ConverseApiUtils.ToolUseAggregationEvent extends Object implements software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
Special event used to aggregate multiple tool use events into a single event with list of aggregated ContentBlockToolUse.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
     

    Nested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput

    software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput.EventType
  • Field Summary

    Fields inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput

    UNKNOWN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamResponseHandler.Visitor visitor)
     
    boolean
     
    List<software.amazon.awssdk.core.SdkField<?>>
     
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput

    sdkEventType

    Methods inherited from interface software.amazon.awssdk.core.SdkPojo

    equalsBySdkFields, sdkFieldNameToField
  • Constructor Details

    • ToolUseAggregationEvent

      public ToolUseAggregationEvent()
  • Method Details

    • toolUseEntries

    • isEmpty

      public boolean isEmpty()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • sdkFields

      public List<software.amazon.awssdk.core.SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface software.amazon.awssdk.core.SdkPojo
    • accept

      public void accept(software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamResponseHandler.Visitor visitor)
      Specified by:
      accept in interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput