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 SummaryNested 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 SummaryConstructors 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 SummaryAll 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- 
builderpublic static DatabaseConnectionStringProfile.Builder builder() Create a new builder.
 - 
toBuilderpublic DatabaseConnectionStringProfile.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly name for the connection.- Returns:
- the value
 
 - 
getValuepublic String getValue() Connection string value.- Returns:
- the value
 
 - 
getConsumerGrouppublic DatabaseConnectionStringProfile.ConsumerGroup getConsumerGroup() Consumer group used by the connection.- Returns:
- the value
 
 - 
getProtocolpublic DatabaseConnectionStringProfile.Protocol getProtocol() Protocol used by the connection.- Returns:
- the value
 
 - 
getTlsAuthenticationpublic DatabaseConnectionStringProfile.TlsAuthentication getTlsAuthentication() Specifies whether the TLS handshake is using one-way (SERVER) or mutual ( MUTUAL) authentication.- Returns:
- the value
 
 - 
getHostFormatpublic DatabaseConnectionStringProfile.HostFormat getHostFormat() Host format used in connection string.- Returns:
- the value
 
 - 
getSessionModepublic 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
 
 - 
getSyntaxFormatpublic DatabaseConnectionStringProfile.SyntaxFormat getSyntaxFormat() Specifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format.Autonomous AI Database Serverless instances always use the long format. - Returns:
- the value
 
 - 
getIsRegionalpublic Boolean getIsRegional() True for a regional connection string, applicable to cross-region DG only.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-