Package com.oracle.bmc.datasafe.model
Class DatabaseCloudServiceDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datasafe.model.DatabaseDetails
- 
- com.oracle.bmc.datasafe.model.DatabaseCloudServiceDetails
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class DatabaseCloudServiceDetails extends DatabaseDetailsThe details of the cloud database to be registered as a target database in Data Safe.
 Note: Objects should always be created or deserialized using theDatabaseCloudServiceDetails.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 theDatabaseCloudServiceDetails.Builder, which maintain a set of all explicitly set fields calledDatabaseCloudServiceDetails.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 classDatabaseCloudServiceDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description DatabaseCloudServiceDetails(InfrastructureType infrastructureType, String vmClusterId, String dbSystemId, String pluggableDatabaseId, Integer listenerPort, String serviceName)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseCloudServiceDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDbSystemId()The OCID of the cloud database registered as a target database in Data Safe.IntegergetListenerPort()The port number of the database listener.StringgetPluggableDatabaseId()The OCID of the pluggable database registered as a target database in Data Safe.StringgetServiceName()The database service name.StringgetVmClusterId()The OCID of the VM cluster in which the database is running.inthashCode()DatabaseCloudServiceDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.datasafe.model.DatabaseDetailsgetInfrastructureType
 
- 
 
- 
- 
- 
Constructor Detail- 
DatabaseCloudServiceDetails@Deprecated public DatabaseCloudServiceDetails(InfrastructureType infrastructureType, String vmClusterId, String dbSystemId, String pluggableDatabaseId, Integer listenerPort, String serviceName) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DatabaseCloudServiceDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic DatabaseCloudServiceDetails.Builder toBuilder() 
 - 
getVmClusterIdpublic String getVmClusterId() The OCID of the VM cluster in which the database is running.- Returns:
- the value
 
 - 
getDbSystemIdpublic String getDbSystemId() The OCID of the cloud database registered as a target database in Data Safe.- Returns:
- the value
 
 - 
getPluggableDatabaseIdpublic String getPluggableDatabaseId() The OCID of the pluggable database registered as a target database in Data Safe.- Returns:
- the value
 
 - 
getListenerPortpublic Integer getListenerPort() The port number of the database listener.- Returns:
- the value
 
 - 
getServiceNamepublic String getServiceName() The database service name.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- DatabaseDetails
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- DatabaseDetails
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- DatabaseDetails
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- DatabaseDetails
 
 
- 
 
-