Class FlowMultiTurnInputRequestEvent
- All Implemented Interfaces:
Serializable,SdkPojo,FlowResponseStream,ToCopyableBuilder<FlowMultiTurnInputRequestEvent.Builder,FlowMultiTurnInputRequestEvent>
- Direct Known Subclasses:
DefaultFlowMultiTurnInputRequestEvent
Response object from the flow multi-turn node requesting additional information.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static classNested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.FlowResponseStream
FlowResponseStream.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.FlowResponseStream
UNKNOWN -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(InvokeFlowResponseHandler.Visitor visitor) Calls the appropriate visit method depending on the subtype ofFlowMultiTurnInputRequestEvent.builder()content()The content payload containing the input request details for the multi-turn interaction.copy(Consumer<? super FlowMultiTurnInputRequestEvent.Builder> modifier) final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringnodeName()The name of the node in the flow that is requesting the input.final NodeTypenodeType()The type of the node in the flow that is requesting the input.final StringThe type of the node in the flow that is requesting the input.static Class<? extends FlowMultiTurnInputRequestEvent.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.FlowResponseStream
sdkEventType
-
Constructor Details
-
FlowMultiTurnInputRequestEvent
-
-
Method Details
-
content
The content payload containing the input request details for the multi-turn interaction.
- Returns:
- The content payload containing the input request details for the multi-turn interaction.
-
nodeName
The name of the node in the flow that is requesting the input.
- Returns:
- The name of the node in the flow that is requesting the input.
-
nodeType
The type of the node in the flow that is requesting the input.
If the service returns an enum value that is not available in the current SDK version,
nodeTypewill returnNodeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnodeTypeAsString().- Returns:
- The type of the node in the flow that is requesting the input.
- See Also:
-
nodeTypeAsString
The type of the node in the flow that is requesting the input.
If the service returns an enum value that is not available in the current SDK version,
nodeTypewill returnNodeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnodeTypeAsString().- Returns:
- The type of the node in the flow that is requesting the input.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<FlowMultiTurnInputRequestEvent.Builder,FlowMultiTurnInputRequestEvent>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
copy
public final FlowMultiTurnInputRequestEvent copy(Consumer<? super FlowMultiTurnInputRequestEvent.Builder> modifier) - Specified by:
copyin interfaceToCopyableBuilder<FlowMultiTurnInputRequestEvent.Builder,FlowMultiTurnInputRequestEvent>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
accept
Calls the appropriate visit method depending on the subtype ofFlowMultiTurnInputRequestEvent.- Specified by:
acceptin interfaceFlowResponseStream- Parameters:
visitor- Visitor to invoke.
-