Class SqlMonitorConfiguration
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.apmsynthetics.model.MonitorConfiguration
- 
- com.oracle.bmc.apmsynthetics.model.SqlMonitorConfiguration
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class SqlMonitorConfiguration extends MonitorConfigurationRequest configuration details for the SQL monitor type.
 Note: Objects should always be created or deserialized using theSqlMonitorConfiguration.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSqlMonitorConfiguration.Builder, which maintain a set of all explicitly set fields calledSqlMonitorConfiguration.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSqlMonitorConfiguration.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.apmsynthetics.model.MonitorConfigurationMonitorConfiguration.ConfigType
 
- 
 - 
Constructor SummaryConstructors Constructor Description SqlMonitorConfiguration(Boolean isFailureRetried, DnsConfiguration dnsConfiguration, DatabaseType databaseType, String query, BasicAuthenticationDetails databaseAuthenticationDetails, String databaseRole, DatabaseConnectionType databaseConnectionType, String connectionString, DatabaseWalletDetails databaseWalletDetails)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlMonitorConfiguration.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetConnectionString()Database connection string.BasicAuthenticationDetailsgetDatabaseAuthenticationDetails()DatabaseConnectionTypegetDatabaseConnectionType()Database connection type.StringgetDatabaseRole()Database role.DatabaseTypegetDatabaseType()Database type.DatabaseWalletDetailsgetDatabaseWalletDetails()StringgetQuery()SQL query to be executed.inthashCode()SqlMonitorConfiguration.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.apmsynthetics.model.MonitorConfigurationgetDnsConfiguration, getIsFailureRetried
 
- 
 
- 
- 
- 
Constructor Detail- 
SqlMonitorConfiguration@Deprecated public SqlMonitorConfiguration(Boolean isFailureRetried, DnsConfiguration dnsConfiguration, DatabaseType databaseType, String query, BasicAuthenticationDetails databaseAuthenticationDetails, String databaseRole, DatabaseConnectionType databaseConnectionType, String connectionString, DatabaseWalletDetails databaseWalletDetails) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static SqlMonitorConfiguration.Builder builder() Create a new builder.
 - 
toBuilderpublic SqlMonitorConfiguration.Builder toBuilder() 
 - 
getDatabaseTypepublic DatabaseType getDatabaseType() Database type.- Returns:
- the value
 
 - 
getQuerypublic String getQuery() SQL query to be executed.- Returns:
- the value
 
 - 
getDatabaseAuthenticationDetailspublic BasicAuthenticationDetails getDatabaseAuthenticationDetails() 
 - 
getDatabaseRolepublic String getDatabaseRole() Database role.- Returns:
- the value
 
 - 
getDatabaseConnectionTypepublic DatabaseConnectionType getDatabaseConnectionType() Database connection type.Only CUSTOM_JDBC is supported for MYSQL database type. - Returns:
- the value
 
 - 
getConnectionStringpublic String getConnectionString() Database connection string.- Returns:
- the value
 
 - 
getDatabaseWalletDetailspublic DatabaseWalletDetails getDatabaseWalletDetails() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- MonitorConfiguration
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- MonitorConfiguration
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- MonitorConfiguration
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- MonitorConfiguration
 
 
- 
 
-