ValidateDatabaseToolsConnectionDetails

class oci.database_tools.models.ValidateDatabaseToolsConnectionDetails(**kwargs)

Bases: object

Connection validation details.

Attributes

TYPE_GENERIC_JDBC A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails.
TYPE_MYSQL A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails.
TYPE_ORACLE_DATABASE A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails.
TYPE_POSTGRESQL A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails.
type [Required] Gets the type of this ValidateDatabaseToolsConnectionDetails.

Methods

__init__(**kwargs) Initializes a new ValidateDatabaseToolsConnectionDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TYPE_GENERIC_JDBC = 'GENERIC_JDBC'

A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails. This constant has a value of “GENERIC_JDBC”

TYPE_MYSQL = 'MYSQL'

A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails. This constant has a value of “MYSQL”

TYPE_ORACLE_DATABASE = 'ORACLE_DATABASE'

A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails. This constant has a value of “ORACLE_DATABASE”

TYPE_POSTGRESQL = 'POSTGRESQL'

A constant which can be used with the type property of a ValidateDatabaseToolsConnectionDetails. This constant has a value of “POSTGRESQL”

__init__(**kwargs)

Initializes a new ValidateDatabaseToolsConnectionDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:type (str) – The value to assign to the type property of this ValidateDatabaseToolsConnectionDetails. Allowed values for this property are: “ORACLE_DATABASE”, “MYSQL”, “POSTGRESQL”, “GENERIC_JDBC”
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

type

[Required] Gets the type of this ValidateDatabaseToolsConnectionDetails. The DatabaseToolsConnection type.

Allowed values for this property are: “ORACLE_DATABASE”, “MYSQL”, “POSTGRESQL”, “GENERIC_JDBC”

Returns:The type of this ValidateDatabaseToolsConnectionDetails.
Return type:str