@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class InstalledDatabaseDetails extends DatabaseDetails
The details of the database running on-premises or on a compute instance.
Note: Objects should always be created or deserialized using the InstalledDatabaseDetails.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 InstalledDatabaseDetails.Builder
, which maintain a
set of all explicitly set fields called InstalledDatabaseDetails.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 |
InstalledDatabaseDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InstalledDatabaseDetails(InfrastructureType infrastructureType,
String instanceId,
List<String> ipAddresses,
Integer listenerPort,
String serviceName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InstalledDatabaseDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getInstanceId()
The OCID of the compute instance on which the database is running.
|
List<String> |
getIpAddresses()
The list of database host IP Addresses.
|
Integer |
getListenerPort()
The port number of the database listener.
|
String |
getServiceName()
The service name of the database registered as target database.
|
int |
hashCode() |
InstalledDatabaseDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getInfrastructureType
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public InstalledDatabaseDetails(InfrastructureType infrastructureType, String instanceId, List<String> ipAddresses, Integer listenerPort, String serviceName)
public static InstalledDatabaseDetails.Builder builder()
Create a new builder.
public InstalledDatabaseDetails.Builder toBuilder()
public String getInstanceId()
The OCID of the compute instance on which the database is running.
public List<String> getIpAddresses()
The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is ‘ONPREM_CONNECTOR’.
public Integer getListenerPort()
The port number of the database listener.
public String getServiceName()
The service name of the database registered as target database.
public String toString()
toString
in class DatabaseDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class DatabaseDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class DatabaseDetails
public int hashCode()
hashCode
in class DatabaseDetails
Copyright © 2016–2024. All rights reserved.