Package com.oracle.bmc.database.model
Class BackupDestination
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.BackupDestination
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class BackupDestination extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelBackup destination details.
 Note: Objects should always be created or deserialized using theBackupDestination.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 theBackupDestination.Builder, which maintain a set of all explicitly set fields calledBackupDestination.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 classBackupDestination.Builderstatic classBackupDestination.LifecycleStateThe current lifecycle state of the backup destination.static classBackupDestination.NfsMountTypeNFS Mount type for backup destination.static classBackupDestination.TypeType of the backup destination.
 - 
Constructor SummaryConstructors Constructor Description BackupDestination(String id, String displayName, String compartmentId, BackupDestination.Type type, List<AssociatedDatabaseDetails> associatedDatabases, List<AssociatedLongTermBackup> associatedLongTermBackups, Integer associatedLongTermBackupCount, String connectionString, List<String> vpcUsers, String localMountPointPath, BackupDestination.NfsMountType nfsMountType, List<String> nfsServer, String nfsServerExport, BackupDestination.LifecycleState lifecycleState, Date timeCreated, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Integer totalStorageSizeInGBs, Integer utilizedStorageSizeInGBs, Date timeAtWhichStorageDetailsAreUpdated)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BackupDestination.Builderbuilder()Create a new builder.booleanequals(Object o)List<AssociatedDatabaseDetails>getAssociatedDatabases()List of databases associated with the backup destination.IntegergetAssociatedLongTermBackupCount()Indicates the number of long term backups of Autonomous AI Databases associated with this backup destination.List<AssociatedLongTermBackup>getAssociatedLongTermBackups()List of long term backups of Autonomous AI Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024.StringgetCompartmentId()The OCID of the compartment.StringgetConnectionString()For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()The user-provided name of the backup destination.Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetId()The OCID of the backup destination.StringgetLifecycleDetails()A descriptive text associated with the lifecycleState.BackupDestination.LifecycleStategetLifecycleState()The current lifecycle state of the backup destination.StringgetLocalMountPointPath()The local directory path on each VM cluster node where the NFS server location is mounted.BackupDestination.NfsMountTypegetNfsMountType()NFS Mount type for backup destination.List<String>getNfsServer()Host names or IP addresses for NFS Auto mount.StringgetNfsServerExport()Specifies the directory on which to mount the file systemMap<String,Map<String,Object>>getSystemTags()System tags for this resource.DategetTimeAtWhichStorageDetailsAreUpdated()The time when the total storage size and the utilized storage size of the backup destination are updated.DategetTimeCreated()The date and time the backup destination was created.IntegergetTotalStorageSizeInGBs()The total storage size of the backup destination in GBs, rounded to the nearest integer.BackupDestination.TypegetType()Type of the backup destination.IntegergetUtilizedStorageSizeInGBs()The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer.List<String>getVpcUsers()For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.inthashCode()BackupDestination.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
BackupDestination@Deprecated @ConstructorProperties({"id","displayName","compartmentId","type","associatedDatabases","associatedLongTermBackups","associatedLongTermBackupCount","connectionString","vpcUsers","localMountPointPath","nfsMountType","nfsServer","nfsServerExport","lifecycleState","timeCreated","lifecycleDetails","freeformTags","definedTags","systemTags","totalStorageSizeInGBs","utilizedStorageSizeInGBs","timeAtWhichStorageDetailsAreUpdated"}) public BackupDestination(String id, String displayName, String compartmentId, BackupDestination.Type type, List<AssociatedDatabaseDetails> associatedDatabases, List<AssociatedLongTermBackup> associatedLongTermBackups, Integer associatedLongTermBackupCount, String connectionString, List<String> vpcUsers, String localMountPointPath, BackupDestination.NfsMountType nfsMountType, List<String> nfsServer, String nfsServerExport, BackupDestination.LifecycleState lifecycleState, Date timeCreated, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Integer totalStorageSizeInGBs, Integer utilizedStorageSizeInGBs, Date timeAtWhichStorageDetailsAreUpdated) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static BackupDestination.Builder builder() Create a new builder.
 - 
toBuilderpublic BackupDestination.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() The user-provided name of the backup destination.- Returns:
- the value
 
 - 
getTypepublic BackupDestination.Type getType() Type of the backup destination.- Returns:
- the value
 
 - 
getAssociatedDatabasespublic List<AssociatedDatabaseDetails> getAssociatedDatabases() List of databases associated with the backup destination.- Returns:
- the value
 
 - 
getAssociatedLongTermBackupspublic List<AssociatedLongTermBackup> getAssociatedLongTermBackups() List of long term backups of Autonomous AI Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024.- Returns:
- the value
 
 - 
getAssociatedLongTermBackupCountpublic Integer getAssociatedLongTermBackupCount() Indicates the number of long term backups of Autonomous AI Databases associated with this backup destination.- Returns:
- the value
 
 - 
getConnectionStringpublic String getConnectionString() For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.- Returns:
- the value
 
 - 
getVpcUserspublic List<String> getVpcUsers() For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.- Returns:
- the value
 
 - 
getLocalMountPointPathpublic String getLocalMountPointPath() The local directory path on each VM cluster node where the NFS server location is mounted.The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes. - Returns:
- the value
 
 - 
getNfsMountTypepublic BackupDestination.NfsMountType getNfsMountType() NFS Mount type for backup destination.- Returns:
- the value
 
 - 
getNfsServerpublic List<String> getNfsServer() Host names or IP addresses for NFS Auto mount.- Returns:
- the value
 
 - 
getNfsServerExportpublic String getNfsServerExport() Specifies the directory on which to mount the file system- Returns:
- the value
 
 - 
getLifecycleStatepublic BackupDestination.LifecycleState getLifecycleState() The current lifecycle state of the backup destination.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time the backup destination was created.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() A descriptive text associated with the lifecycleState.Typically contains additional displayable text - Returns:
- the value
 
 - 
getFreeformTagspublic Map<String,String> getFreeformTags() Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} - Returns:
- the value
 
 - 
getDefinedTagspublic Map<String,Map<String,Object>> getDefinedTags() Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Returns:
- the value
 
 - 
getSystemTagspublic Map<String,Map<String,Object>> getSystemTags() System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. - Returns:
- the value
 
 - 
getTotalStorageSizeInGBspublic Integer getTotalStorageSizeInGBs() The total storage size of the backup destination in GBs, rounded to the nearest integer.- Returns:
- the value
 
 - 
getUtilizedStorageSizeInGBspublic Integer getUtilizedStorageSizeInGBs() The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer.- Returns:
- the value
 
 - 
getTimeAtWhichStorageDetailsAreUpdatedpublic Date getTimeAtWhichStorageDetailsAreUpdated() The time when the total storage size and the utilized storage size of the backup destination are updated.- 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
 
 
- 
 
-