public static class SqlMonitorConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
public SqlMonitorConfiguration.Builder isFailureRetried(Boolean isFailureRetried)
public SqlMonitorConfiguration.Builder dnsConfiguration(DnsConfiguration dnsConfiguration)
public SqlMonitorConfiguration.Builder databaseType(DatabaseType databaseType)
Database type.
databaseType
- the value to setpublic SqlMonitorConfiguration.Builder query(String query)
SQL query to be executed.
query
- the value to setpublic SqlMonitorConfiguration.Builder databaseAuthenticationDetails(BasicAuthenticationDetails databaseAuthenticationDetails)
public SqlMonitorConfiguration.Builder databaseRole(String databaseRole)
Database role.
databaseRole
- the value to setpublic SqlMonitorConfiguration.Builder databaseConnectionType(DatabaseConnectionType databaseConnectionType)
Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type.
databaseConnectionType
- the value to setpublic SqlMonitorConfiguration.Builder connectionString(String connectionString)
Database connection string.
connectionString
- the value to setpublic SqlMonitorConfiguration.Builder databaseWalletDetails(DatabaseWalletDetails databaseWalletDetails)
public SqlMonitorConfiguration build()
public SqlMonitorConfiguration.Builder copy(SqlMonitorConfiguration model)
Copyright © 2016–2024. All rights reserved.