Class AutonomousDatabaseConnectionStrings
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.AutonomousDatabaseConnectionStrings
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AutonomousDatabaseConnectionStrings extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Connection strings to connect to an Oracle Autonomous Database.Example output for connection strings. See
databaseConnectionStringProfile
for additional details:"connectionStrings": { "allConnectionStrings": { "HIGH": "adb.region.oraclecloud.com:1522/unique_id_databasename_high.adwc.oraclecloud.com", "LOW": "adb.region.oraclecloud.com:1522/unique_id_databasename_low.adwc.oraclecloud.com", "MEDIUM": "adb.region.oraclecloud.com:1522/unique_id_databasename_medium.adwc.oraclecloud.com" }, "profiles": [ { "displayName": "databasename_high", "value": "(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_high.adwc.oraclecloud.com))(security=(ssl_server_cert_dn="CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US")))", "consumerGroup": "HIGH", "protocol": "TCPS", "tlsAuthentication": "MUTUAL", "hostFormat": "FQDN", "sessionMode": "DIRECT", "syntaxFormat": "LONG" }, { "displayName": "databasename_low", "value": "(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_low.adwc.oraclecloud.com))(security=(ssl_server_cert_dn="CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US")))", "consumerGroup": "LOW", "protocol": "TCPS", "tlsAuthentication": "MUTUAL", "hostFormat": "FQDN", "sessionMode": "DIRECT", "syntaxFormat": "LONG" }, { "displayName": "databasename_medium", "value": "(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=adb.region.oraclecloud.com))(connect_data=(service_name=unique_id_databasename_medium.adwc.oraclecloud.com))(security=(ssl_server_cert_dn="CN=adwc.uscom-east-1.oraclecloud.com,OU=Oracle BMCS US,O=Oracle Corporation,L=Redwood City,ST=California,C=US")))", "consumerGroup": "MEDIUM", "protocol": "TCPS", "tlsAuthentication": "MUTUAL", "hostFormat": "FQDN", "sessionMode": "DIRECT", "syntaxFormat": "LONG" } ], "dedicated": null, "high": "adb.region.oraclecloud.com:1522/unique_id_databasename_high.adwc.oraclecloud.com", "low": "adb.region.oraclecloud.com:1522/unique_id_databasename_low.adwc.oraclecloud.com", "medium": "adb.region.oraclecloud.com:1522/unique_id_databasename_medium.adwc.oraclecloud.com" }
Note: Objects should always be created or deserialized using theAutonomousDatabaseConnectionStrings.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 theAutonomousDatabaseConnectionStrings.Builder
, which maintain a set of all explicitly set fields calledAutonomousDatabaseConnectionStrings.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 Summary
Nested Classes Modifier and Type Class Description static class
AutonomousDatabaseConnectionStrings.Builder
-
Constructor Summary
Constructors Constructor Description AutonomousDatabaseConnectionStrings(String high, String medium, String low, String dedicated, Map<String,String> allConnectionStrings, List<DatabaseConnectionStringProfile> profiles)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutonomousDatabaseConnectionStrings.Builder
builder()
Create a new builder.boolean
equals(Object o)
Map<String,String>
getAllConnectionStrings()
Returns all connection strings that can be used to connect to the Autonomous Database.String
getDedicated()
The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.String
getHigh()
The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements.String
getLow()
The Low database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.String
getMedium()
The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements.List<DatabaseConnectionStringProfile>
getProfiles()
A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata.int
hashCode()
AutonomousDatabaseConnectionStrings.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AutonomousDatabaseConnectionStrings
@Deprecated @ConstructorProperties({"high","medium","low","dedicated","allConnectionStrings","profiles"}) public AutonomousDatabaseConnectionStrings(String high, String medium, String low, String dedicated, Map<String,String> allConnectionStrings, List<DatabaseConnectionStringProfile> profiles)
Deprecated.
-
-
Method Detail
-
builder
public static AutonomousDatabaseConnectionStrings.Builder builder()
Create a new builder.
-
toBuilder
public AutonomousDatabaseConnectionStrings.Builder toBuilder()
-
getHigh
public String getHigh()
The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements.- Returns:
- the value
-
getMedium
public String getMedium()
The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements.- Returns:
- the value
-
getLow
public String getLow()
The Low database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.- Returns:
- the value
-
getDedicated
public String getDedicated()
The database service provides the least level of resources to each SQL statement, but supports the most number of concurrent SQL statements.- Returns:
- the value
-
getAllConnectionStrings
public Map<String,String> getAllConnectionStrings()
Returns all connection strings that can be used to connect to the Autonomous Database.For more information, please see Predefined Database Service Names for Autonomous Transaction Processing
- Returns:
- the value
-
getProfiles
public List<DatabaseConnectionStringProfile> getProfiles()
A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-