@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class OnPremiseConnector extends ConnectionOption
The details required to establish a connection to the database using an on-premises connector.
Note: Objects should always be created or deserialized using the OnPremiseConnector.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 OnPremiseConnector.Builder
, which maintain a
set of all explicitly set fields called OnPremiseConnector.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
OnPremiseConnector.Builder |
ConnectionOption.ConnectionType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
OnPremiseConnector(String onPremConnectorId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OnPremiseConnector.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getOnPremConnectorId()
The OCID of the on-premises connector.
|
int |
hashCode() |
OnPremiseConnector.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public OnPremiseConnector(String onPremConnectorId)
public static OnPremiseConnector.Builder builder()
Create a new builder.
public OnPremiseConnector.Builder toBuilder()
public String getOnPremConnectorId()
The OCID of the on-premises connector.
public String toString()
toString
in class ConnectionOption
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ConnectionOption
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ConnectionOption
public int hashCode()
hashCode
in class ConnectionOption
Copyright © 2016–2024. All rights reserved.