Package com.oracle.bmc.database.model
Class DatabaseConnectionStringProfile
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.DatabaseConnectionStringProfile
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DatabaseConnectionStringProfile extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe 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 theDatabaseConnectionStringProfile.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 theDatabaseConnectionStringProfile.Builder, which maintain a set of all explicitly set fields calledDatabaseConnectionStringProfile.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 classDatabaseConnectionStringProfile.Builderstatic classDatabaseConnectionStringProfile.ConsumerGroupConsumer group used by the connection.static classDatabaseConnectionStringProfile.HostFormatHost format used in connection string.static classDatabaseConnectionStringProfile.ProtocolProtocol used by the connection.static classDatabaseConnectionStringProfile.SessionModeSpecifies whether the listener performs a direct hand-off of the session, or redirects the session.static classDatabaseConnectionStringProfile.SyntaxFormatSpecifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format.static classDatabaseConnectionStringProfile.TlsAuthenticationSpecifies whether the TLS handshake is using one-way (SERVER) or mutual ( MUTUAL) authentication.
-
Constructor Summary
Constructors Constructor Description DatabaseConnectionStringProfile(String displayName, String value, DatabaseConnectionStringProfile.ConsumerGroup consumerGroup, DatabaseConnectionStringProfile.Protocol protocol, DatabaseConnectionStringProfile.TlsAuthentication tlsAuthentication, DatabaseConnectionStringProfile.HostFormat hostFormat, DatabaseConnectionStringProfile.SessionMode sessionMode, DatabaseConnectionStringProfile.SyntaxFormat syntaxFormat, Boolean isRegional)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseConnectionStringProfile.Builderbuilder()Create a new builder.booleanequals(Object o)DatabaseConnectionStringProfile.ConsumerGroupgetConsumerGroup()Consumer group used by the connection.StringgetDisplayName()A user-friendly name for the connection.DatabaseConnectionStringProfile.HostFormatgetHostFormat()Host format used in connection string.BooleangetIsRegional()True for a regional connection string, applicable to cross-region DG only.DatabaseConnectionStringProfile.ProtocolgetProtocol()Protocol used by the connection.DatabaseConnectionStringProfile.SessionModegetSessionMode()Specifies whether the listener performs a direct hand-off of the session, or redirects the session.DatabaseConnectionStringProfile.SyntaxFormatgetSyntaxFormat()Specifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format.DatabaseConnectionStringProfile.TlsAuthenticationgetTlsAuthentication()Specifies whether the TLS handshake is using one-way (SERVER) or mutual ( MUTUAL) authentication.StringgetValue()Connection string value.inthashCode()DatabaseConnectionStringProfile.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DatabaseConnectionStringProfile
@Deprecated @ConstructorProperties({"displayName","value","consumerGroup","protocol","tlsAuthentication","hostFormat","sessionMode","syntaxFormat","isRegional"}) public DatabaseConnectionStringProfile(String displayName, String value, DatabaseConnectionStringProfile.ConsumerGroup consumerGroup, DatabaseConnectionStringProfile.Protocol protocol, DatabaseConnectionStringProfile.TlsAuthentication tlsAuthentication, DatabaseConnectionStringProfile.HostFormat hostFormat, DatabaseConnectionStringProfile.SessionMode sessionMode, DatabaseConnectionStringProfile.SyntaxFormat syntaxFormat, Boolean isRegional)
Deprecated.
-
-
Method Detail
-
builder
public static DatabaseConnectionStringProfile.Builder builder()
Create a new builder.
-
toBuilder
public DatabaseConnectionStringProfile.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
A user-friendly name for the connection.- Returns:
- the value
-
getValue
public String getValue()
Connection string value.- Returns:
- the value
-
getConsumerGroup
public DatabaseConnectionStringProfile.ConsumerGroup getConsumerGroup()
Consumer group used by the connection.- Returns:
- the value
-
getProtocol
public DatabaseConnectionStringProfile.Protocol getProtocol()
Protocol used by the connection.- Returns:
- the value
-
getTlsAuthentication
public DatabaseConnectionStringProfile.TlsAuthentication getTlsAuthentication()
Specifies whether the TLS handshake is using one-way (SERVER) or mutual ( MUTUAL) authentication.- Returns:
- the value
-
getHostFormat
public DatabaseConnectionStringProfile.HostFormat getHostFormat()
Host format used in connection string.- Returns:
- the value
-
getSessionMode
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.
- Returns:
- the value
-
getSyntaxFormat
public DatabaseConnectionStringProfile.SyntaxFormat getSyntaxFormat()
Specifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format.Autonomous Database Serverless instances always use the long format.
- Returns:
- the value
-
getIsRegional
public Boolean getIsRegional()
True for a regional connection string, applicable to cross-region DG only.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-