Class SlackNotificationToolParams.Builder
java.lang.Object
com.oracle.database.selectai.model.agent.SlackNotificationToolParams.Builder
- Enclosing class:
SlackNotificationToolParams
Builder for immutable
SlackNotificationToolParams.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadditionalParameter(String name, Object value) Snapshots an additional database parameter.build()Builds an immutable snapshot without database-specific validation.Sets the Slack channel.credentialName(String credentialName) Sets the database credential name.
-
Method Details
-
credentialName
Sets the database credential name.- Parameters:
credentialName- database credential name, or null to omit it- Returns:
- this builder
- See Also:
-
channel
Sets the Slack channel.- Parameters:
channel- Slack channel, or null to omit it- Returns:
- this builder
- See Also:
-
additionalParameter
Snapshots an additional database parameter.- Parameters:
name- database JSON parameter namevalue- JSON-compatible value, including null- Returns:
- this builder
- Throws:
IllegalArgumentException- when the name is blank, is a known parameter name, or the value is not JSON-compatible- See Also:
-
build
Builds an immutable snapshot without database-specific validation.- Returns:
- immutable parameters
- See Also:
-