Class EmailNotificationToolParams
java.lang.Object
com.oracle.database.selectai.model.agent.EmailNotificationToolParams
- All Implemented Interfaces:
ToolParams
Immutable parameters for a built-in email notification tool.
Unset parameters are omitted. The database validates required fields and tool-specific rules, allowing this model to represent partial updates. Additional parameters are retained for newer database releases.
- Since:
- 1.1.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for immutableEmailNotificationToolParams. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder for email notification tool parameters.Returns the database credential name.Returns the notification type.Returns the email recipient.Returns the email sender.Returns the SMTP host.Returns the optional email subject.toMap()Returns parameters using database JSON field names.
-
Method Details
-
builder
Creates a builder for email notification tool parameters.- Returns:
- new mutable builder
- See Also:
-
getCredentialName
Returns the database credential name.- Returns:
- database credential name, or null when unset
- See Also:
-
getRecipient
Returns the email recipient.- Returns:
- email recipient, or null when unset
- See Also:
-
getSender
Returns the email sender.- Returns:
- email sender, or null when unset
- See Also:
-
getSmtpHost
Returns the SMTP host.- Returns:
- SMTP host, or null when unset
- See Also:
-
getSubject
Returns the optional email subject.- Returns:
- optional email subject, or null when unset
- See Also:
-
getNotificationType
Returns the notification type.- Returns:
emailfor builder-created parameters, or the database value- See Also:
-
toMap
Returns parameters using database JSON field names.SDK implementations return immutable maps, including nested values. Additional parameters appear alongside known parameters, without an extra wrapper property. Implementations supplied by callers are snapshotted by
ToolAttributes.Builder.toolParams(ToolParams).- Specified by:
toMapin interfaceToolParams- Returns:
- parameter map; never null
- See Also:
-