@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DatabaseConnectionStringProfile extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The connection string profile to allow clients to group, filter and select connection string
values based on structured metadata.
Note: Objects should always be created or deserialized using the DatabaseConnectionStringProfile.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 the DatabaseConnectionStringProfile.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
DatabaseConnectionStringProfile.Builder |
static class |
DatabaseConnectionStringProfile.ConsumerGroup
Consumer group used by the connection.
|
static class |
DatabaseConnectionStringProfile.HostFormat
Host format used in connection string.
|
static class |
DatabaseConnectionStringProfile.Protocol
Protocol used by the connection.
|
static class |
DatabaseConnectionStringProfile.SessionMode
Specifies whether the listener performs a direct hand-off of the session, or redirects the
session.
|
static class |
DatabaseConnectionStringProfile.SyntaxFormat
Specifies whether the connection string is using the long (
LONG ), Easy Connect
(EZCONNECT ), or Easy Connect Plus (EZCONNECTPLUS ) format. |
static class |
DatabaseConnectionStringProfile.TlsAuthentication
Specifies whether the TLS handshake is using one-way (
SERVER ) or mutual (MUTUAL ) authentication. |
Constructor and Description |
---|
DatabaseConnectionStringProfile(String displayName,
String value,
DatabaseConnectionStringProfile.ConsumerGroup consumerGroup,
DatabaseConnectionStringProfile.Protocol protocol,
DatabaseConnectionStringProfile.TlsAuthentication tlsAuthentication,
DatabaseConnectionStringProfile.HostFormat hostFormat,
DatabaseConnectionStringProfile.SessionMode sessionMode,
DatabaseConnectionStringProfile.SyntaxFormat syntaxFormat)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DatabaseConnectionStringProfile.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
DatabaseConnectionStringProfile.ConsumerGroup |
getConsumerGroup()
Consumer group used by the connection.
|
String |
getDisplayName()
A user-friendly name for the connection.
|
DatabaseConnectionStringProfile.HostFormat |
getHostFormat()
Host format used in connection string.
|
DatabaseConnectionStringProfile.Protocol |
getProtocol()
Protocol used by the connection.
|
DatabaseConnectionStringProfile.SessionMode |
getSessionMode()
Specifies whether the listener performs a direct hand-off of the session, or redirects the
session.
|
DatabaseConnectionStringProfile.SyntaxFormat |
getSyntaxFormat()
Specifies whether the connection string is using the long (
LONG ), Easy Connect
(EZCONNECT ), or Easy Connect Plus (EZCONNECTPLUS ) format. |
DatabaseConnectionStringProfile.TlsAuthentication |
getTlsAuthentication()
Specifies whether the TLS handshake is using one-way (
SERVER ) or mutual (MUTUAL ) authentication. |
String |
getValue()
Connection string value.
|
int |
hashCode() |
DatabaseConnectionStringProfile.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","value","consumerGroup","protocol","tlsAuthentication","hostFormat","sessionMode","syntaxFormat"}) public DatabaseConnectionStringProfile(String displayName, String value, DatabaseConnectionStringProfile.ConsumerGroup consumerGroup, DatabaseConnectionStringProfile.Protocol protocol, DatabaseConnectionStringProfile.TlsAuthentication tlsAuthentication, DatabaseConnectionStringProfile.HostFormat hostFormat, DatabaseConnectionStringProfile.SessionMode sessionMode, DatabaseConnectionStringProfile.SyntaxFormat syntaxFormat)
public static DatabaseConnectionStringProfile.Builder builder()
Create a new builder.
public DatabaseConnectionStringProfile.Builder toBuilder()
public String getDisplayName()
A user-friendly name for the connection.
public String getValue()
Connection string value.
public DatabaseConnectionStringProfile.ConsumerGroup getConsumerGroup()
Consumer group used by the connection.
public DatabaseConnectionStringProfile.Protocol getProtocol()
Protocol used by the connection.
public DatabaseConnectionStringProfile.TlsAuthentication getTlsAuthentication()
Specifies whether the TLS handshake is using one-way (SERVER
) or mutual (MUTUAL
) authentication.
public DatabaseConnectionStringProfile.HostFormat getHostFormat()
Host format used in connection string.
public DatabaseConnectionStringProfile.SessionMode getSessionMode()
Specifies whether the listener performs a direct hand-off of the session, or redirects the
session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use
DIRECT
for direct hand-offs. Use REDIRECT
to redirect the session.
public DatabaseConnectionStringProfile.SyntaxFormat getSyntaxFormat()
Specifies whether the connection string is using the long (LONG
), Easy Connect
(EZCONNECT
), or Easy Connect Plus (EZCONNECTPLUS
) format. Autonomous
Databases on shared Exadata infrastructure always use the long format.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.