Class FlowCompletionEvent
java.lang.Object
software.amazon.awssdk.services.bedrockagentruntime.model.FlowCompletionEvent
- All Implemented Interfaces:
Serializable,SdkPojo,FlowResponseStream,ToCopyableBuilder<FlowCompletionEvent.Builder,FlowCompletionEvent>
- Direct Known Subclasses:
DefaultFlowCompletionEvent
@Generated("software.amazon.awssdk:codegen")
public class FlowCompletionEvent
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<FlowCompletionEvent.Builder,FlowCompletionEvent>, FlowResponseStream
Contains information about why a flow completed.
- 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 ofFlowCompletionEvent.static FlowCompletionEvent.Builderbuilder()final FlowCompletionReasonThe reason that the flow completed.final StringThe reason that the flow completed.final FlowCompletionEventcopy(Consumer<? super FlowCompletionEvent.Builder> modifier) final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends FlowCompletionEvent.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
-
FlowCompletionEvent
-
-
Method Details
-
completionReason
The reason that the flow completed.
If the service returns an enum value that is not available in the current SDK version,
completionReasonwill returnFlowCompletionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcompletionReasonAsString().- Returns:
- The reason that the flow completed.
- See Also:
-
completionReasonAsString
The reason that the flow completed.
If the service returns an enum value that is not available in the current SDK version,
completionReasonwill returnFlowCompletionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcompletionReasonAsString().- Returns:
- The reason that the flow completed.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<FlowCompletionEvent.Builder,FlowCompletionEvent>
-
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
- Specified by:
copyin interfaceToCopyableBuilder<FlowCompletionEvent.Builder,FlowCompletionEvent>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
accept
Calls the appropriate visit method depending on the subtype ofFlowCompletionEvent.- Specified by:
acceptin interfaceFlowResponseStream- Parameters:
visitor- Visitor to invoke.
-