Class ActionReviewEvent.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.ActionReviewEvent.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,ActionReviewEvent.Builder,Buildable,CopyableBuilder<ActionReviewEvent.Builder,ActionReviewEvent>,SdkBuilder<ActionReviewEvent.Builder,ActionReviewEvent>
- Enclosing class:
- ActionReviewEvent
protected static class ActionReviewEvent.BuilderImpl extends Object implements ActionReviewEvent.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(ActionReviewEvent model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionReviewEventbuild()ActionReviewEvent.BuilderconversationId(String conversationId)The identifier of the conversation with which the action review event is associated.StringgetConversationId()Map<String,ActionReviewPayloadField.Builder>getPayload()StringgetPayloadFieldNameSeparator()StringgetPluginId()StringgetPluginType()StringgetSystemMessageId()StringgetUserMessageId()ActionReviewEvent.Builderpayload(Map<String,ActionReviewPayloadField> payload)Field values that an end user needs to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.ActionReviewEvent.BuilderpayloadFieldNameSeparator(String payloadFieldNameSeparator)A string used to retain information about the hierarchical contexts within an action review event payload.ActionReviewEvent.BuilderpluginId(String pluginId)The identifier of the plugin associated with the action review event.ActionReviewEvent.BuilderpluginType(String pluginType)The type of plugin.ActionReviewEvent.BuilderpluginType(PluginType pluginType)The type of plugin.List<SdkField<?>>sdkFields()voidsetConversationId(String conversationId)voidsetPayload(Map<String,software.amazon.awssdk.services.qbusiness.model.ActionReviewPayloadField.BuilderImpl> payload)voidsetPayloadFieldNameSeparator(String payloadFieldNameSeparator)voidsetPluginId(String pluginId)voidsetPluginType(String pluginType)voidsetSystemMessageId(String systemMessageId)voidsetUserMessageId(String userMessageId)ActionReviewEvent.BuildersystemMessageId(String systemMessageId)The identifier of an Amazon Q Business AI generated associated with the action review event.ActionReviewEvent.BuilderuserMessageId(String userMessageId)The identifier of the conversation with which the plugin action is associated.-
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(ActionReviewEvent model)
-
-
Method Detail
-
getConversationId
public final String getConversationId()
-
setConversationId
public final void setConversationId(String conversationId)
-
conversationId
public final ActionReviewEvent.Builder conversationId(String conversationId)
Description copied from interface:ActionReviewEvent.BuilderThe identifier of the conversation with which the action review event is associated.
- Specified by:
conversationIdin interfaceActionReviewEvent.Builder- Parameters:
conversationId- The identifier of the conversation with which the action review event is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getUserMessageId
public final String getUserMessageId()
-
setUserMessageId
public final void setUserMessageId(String userMessageId)
-
userMessageId
public final ActionReviewEvent.Builder userMessageId(String userMessageId)
Description copied from interface:ActionReviewEvent.BuilderThe identifier of the conversation with which the plugin action is associated.
- Specified by:
userMessageIdin interfaceActionReviewEvent.Builder- Parameters:
userMessageId- The identifier of the conversation with which the plugin action is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSystemMessageId
public final String getSystemMessageId()
-
setSystemMessageId
public final void setSystemMessageId(String systemMessageId)
-
systemMessageId
public final ActionReviewEvent.Builder systemMessageId(String systemMessageId)
Description copied from interface:ActionReviewEvent.BuilderThe identifier of an Amazon Q Business AI generated associated with the action review event.
- Specified by:
systemMessageIdin interfaceActionReviewEvent.Builder- Parameters:
systemMessageId- The identifier of an Amazon Q Business AI generated associated with the action review event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPluginId
public final String getPluginId()
-
setPluginId
public final void setPluginId(String pluginId)
-
pluginId
public final ActionReviewEvent.Builder pluginId(String pluginId)
Description copied from interface:ActionReviewEvent.BuilderThe identifier of the plugin associated with the action review event.
- Specified by:
pluginIdin interfaceActionReviewEvent.Builder- Parameters:
pluginId- The identifier of the plugin associated with the action review event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPluginType
public final String getPluginType()
-
setPluginType
public final void setPluginType(String pluginType)
-
pluginType
public final ActionReviewEvent.Builder pluginType(String pluginType)
Description copied from interface:ActionReviewEvent.BuilderThe type of plugin.
- Specified by:
pluginTypein interfaceActionReviewEvent.Builder- Parameters:
pluginType- The type of plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PluginType,PluginType
-
pluginType
public final ActionReviewEvent.Builder pluginType(PluginType pluginType)
Description copied from interface:ActionReviewEvent.BuilderThe type of plugin.
- Specified by:
pluginTypein interfaceActionReviewEvent.Builder- Parameters:
pluginType- The type of plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PluginType,PluginType
-
getPayload
public final Map<String,ActionReviewPayloadField.Builder> getPayload()
-
setPayload
public final void setPayload(Map<String,software.amazon.awssdk.services.qbusiness.model.ActionReviewPayloadField.BuilderImpl> payload)
-
payload
public final ActionReviewEvent.Builder payload(Map<String,ActionReviewPayloadField> payload)
Description copied from interface:ActionReviewEvent.BuilderField values that an end user needs to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.
- Specified by:
payloadin interfaceActionReviewEvent.Builder- Parameters:
payload- Field values that an end user needs to provide to Amazon Q Business for Amazon Q Business to perform the requested plugin action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPayloadFieldNameSeparator
public final String getPayloadFieldNameSeparator()
-
setPayloadFieldNameSeparator
public final void setPayloadFieldNameSeparator(String payloadFieldNameSeparator)
-
payloadFieldNameSeparator
public final ActionReviewEvent.Builder payloadFieldNameSeparator(String payloadFieldNameSeparator)
Description copied from interface:ActionReviewEvent.BuilderA string used to retain information about the hierarchical contexts within an action review event payload.
- Specified by:
payloadFieldNameSeparatorin interfaceActionReviewEvent.Builder- Parameters:
payloadFieldNameSeparator- A string used to retain information about the hierarchical contexts within an action review event payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
public ActionReviewEvent build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<ActionReviewEvent.Builder,ActionReviewEvent>
-
-