Class FlowCompletionEvent.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.FlowCompletionEvent.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,FlowCompletionEvent.Builder,Buildable,CopyableBuilder<FlowCompletionEvent.Builder,FlowCompletionEvent>,SdkBuilder<FlowCompletionEvent.Builder,FlowCompletionEvent>
- Enclosing class:
- FlowCompletionEvent
protected static class FlowCompletionEvent.BuilderImpl extends Object implements FlowCompletionEvent.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(FlowCompletionEvent model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowCompletionEventbuild()FlowCompletionEvent.BuildercompletionReason(String completionReason)The reason that the flow completed.FlowCompletionEvent.BuildercompletionReason(FlowCompletionReason completionReason)The reason that the flow completed.StringgetCompletionReason()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()voidsetCompletionReason(String completionReason)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(FlowCompletionEvent model)
-
-
Method Detail
-
getCompletionReason
public final String getCompletionReason()
-
setCompletionReason
public final void setCompletionReason(String completionReason)
-
completionReason
public final FlowCompletionEvent.Builder completionReason(String completionReason)
Description copied from interface:FlowCompletionEvent.BuilderThe reason that the flow completed.
- Specified by:
completionReasonin interfaceFlowCompletionEvent.Builder- Parameters:
completionReason- The reason that the flow completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowCompletionReason,FlowCompletionReason
-
completionReason
public final FlowCompletionEvent.Builder completionReason(FlowCompletionReason completionReason)
Description copied from interface:FlowCompletionEvent.BuilderThe reason that the flow completed.
- Specified by:
completionReasonin interfaceFlowCompletionEvent.Builder- Parameters:
completionReason- The reason that the flow completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowCompletionReason,FlowCompletionReason
-
build
public FlowCompletionEvent build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<FlowCompletionEvent.Builder,FlowCompletionEvent>
-
sdkFieldNameToField
public Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-