Package com.oracle.bmc.datasafe.model
Class InstalledDatabaseDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.DatabaseDetails
-
- com.oracle.bmc.datasafe.model.InstalledDatabaseDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class InstalledDatabaseDetails extends DatabaseDetailsThe details of the database running on-premises or on a compute instance.
Note: Objects should always be created or deserialized using theInstalledDatabaseDetails.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 theInstalledDatabaseDetails.Builder, which maintain a set of all explicitly set fields calledInstalledDatabaseDetails.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 classInstalledDatabaseDetails.Builder
-
Constructor Summary
Constructors Constructor Description InstalledDatabaseDetails(InfrastructureType infrastructureType, String instanceId, List<String> ipAddresses, Integer listenerPort, String serviceName)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstalledDatabaseDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetInstanceId()The OCID of the compute instance on which the database is running.List<String>getIpAddresses()The list of database host IP Addresses.IntegergetListenerPort()The port number of the database listener.StringgetServiceName()The service name of the database registered as target database.inthashCode()InstalledDatabaseDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.datasafe.model.DatabaseDetails
getInfrastructureType
-
-
-
-
Constructor Detail
-
InstalledDatabaseDetails
@Deprecated public InstalledDatabaseDetails(InfrastructureType infrastructureType, String instanceId, List<String> ipAddresses, Integer listenerPort, String serviceName)
Deprecated.
-
-
Method Detail
-
builder
public static InstalledDatabaseDetails.Builder builder()
Create a new builder.
-
toBuilder
public InstalledDatabaseDetails.Builder toBuilder()
-
getInstanceId
public String getInstanceId()
The OCID of the compute instance on which the database is running.- Returns:
- the value
-
getIpAddresses
public List<String> getIpAddresses()
The list of database host IP Addresses.Fully qualified domain names can be used if connectionType is ‘ONPREM_CONNECTOR’.
- Returns:
- the value
-
getListenerPort
public Integer getListenerPort()
The port number of the database listener.- Returns:
- the value
-
getServiceName
public String getServiceName()
The service name of the database registered as target database.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classDatabaseDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDatabaseDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDatabaseDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDatabaseDetails
-
-