Class FlowMultiTurnInputRequestEvent
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.FlowMultiTurnInputRequestEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,FlowResponseStream,ToCopyableBuilder<FlowMultiTurnInputRequestEvent.Builder,FlowMultiTurnInputRequestEvent>
- Direct Known Subclasses:
DefaultFlowMultiTurnInputRequestEvent
@Generated("software.amazon.awssdk:codegen") public class FlowMultiTurnInputRequestEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FlowMultiTurnInputRequestEvent.Builder,FlowMultiTurnInputRequestEvent>, FlowResponseStream
Response object from the flow multi-turn node requesting additional information.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFlowMultiTurnInputRequestEvent.Builderprotected static classFlowMultiTurnInputRequestEvent.BuilderImpl-
Nested 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
Constructors Modifier Constructor Description protectedFlowMultiTurnInputRequestEvent(FlowMultiTurnInputRequestEvent.BuilderImpl builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(InvokeFlowResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofFlowMultiTurnInputRequestEvent.static FlowMultiTurnInputRequestEvent.Builderbuilder()FlowMultiTurnInputContentcontent()The content payload containing the input request details for the multi-turn interaction.FlowMultiTurnInputRequestEventcopy(Consumer<? super FlowMultiTurnInputRequestEvent.Builder> modifier)booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnodeName()The name of the node in the flow that is requesting the input.NodeTypenodeType()The type of the node in the flow that is requesting the input.StringnodeTypeAsString()The type of the node in the flow that is requesting the input.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends FlowMultiTurnInputRequestEvent.Builder>serializableBuilderClass()FlowMultiTurnInputRequestEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.FlowResponseStream
sdkEventType
-
-
-
-
Constructor Detail
-
FlowMultiTurnInputRequestEvent
protected FlowMultiTurnInputRequestEvent(FlowMultiTurnInputRequestEvent.BuilderImpl builder)
-
-
Method Detail
-
content
public final FlowMultiTurnInputContent 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
public final String 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
public final NodeType 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:
NodeType
-
nodeTypeAsString
public final String 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:
NodeType
-
toBuilder
public FlowMultiTurnInputRequestEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FlowMultiTurnInputRequestEvent.Builder,FlowMultiTurnInputRequestEvent>
-
builder
public static FlowMultiTurnInputRequestEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends FlowMultiTurnInputRequestEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
copy
public final FlowMultiTurnInputRequestEvent copy(Consumer<? super FlowMultiTurnInputRequestEvent.Builder> modifier)
- Specified by:
copyin interfaceToCopyableBuilder<FlowMultiTurnInputRequestEvent.Builder,FlowMultiTurnInputRequestEvent>
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
accept
public void accept(InvokeFlowResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofFlowMultiTurnInputRequestEvent.- Specified by:
acceptin interfaceFlowResponseStream- Parameters:
visitor- Visitor to invoke.
-
-