Package com.oracle.bmc.database.model
Class BackupDestinationSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.BackupDestinationSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class BackupDestinationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Backup destination details, including the list of databases using the backup destination.
Note: Objects should always be created or deserialized using theBackupDestinationSummary.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 theBackupDestinationSummary.Builder
, which maintain a set of all explicitly set fields calledBackupDestinationSummary.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 class
BackupDestinationSummary.Builder
static class
BackupDestinationSummary.LifecycleState
The current lifecycle state of the backup destination.static class
BackupDestinationSummary.NfsMountType
NFS Mount type for backup destination.static class
BackupDestinationSummary.Type
Type of the backup destination.
-
Constructor Summary
Constructors Constructor Description BackupDestinationSummary(String id, String displayName, String compartmentId, BackupDestinationSummary.Type type, List<AssociatedDatabaseDetails> associatedDatabases, String connectionString, List<String> vpcUsers, String localMountPointPath, BackupDestinationSummary.NfsMountType nfsMountType, List<String> nfsServer, String nfsServerExport, BackupDestinationSummary.LifecycleState lifecycleState, Date timeCreated, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Integer totalStorageSizeInGBs, Integer utilizedStorageSizeInGBs, Date timeAtWhichStorageDetailsAreUpdated)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BackupDestinationSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<AssociatedDatabaseDetails>
getAssociatedDatabases()
List of databases associated with the backup destination.String
getCompartmentId()
The OCID of the compartment.String
getConnectionString()
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.String
getDisplayName()
The user-provided name of the backup destination.Map<String,String>
getFreeformTags()
Free-form tags for this resource.String
getId()
The OCID of the backup destination.String
getLifecycleDetails()
A descriptive text associated with the lifecycleState.BackupDestinationSummary.LifecycleState
getLifecycleState()
The current lifecycle state of the backup destination.String
getLocalMountPointPath()
The local directory path on each VM cluster node where the NFS server location is mounted.BackupDestinationSummary.NfsMountType
getNfsMountType()
NFS Mount type for backup destination.List<String>
getNfsServer()
Host names or IP addresses for NFS Auto mount.String
getNfsServerExport()
Specifies the directory on which to mount the file systemDate
getTimeAtWhichStorageDetailsAreUpdated()
The time when the total storage size and the utilized storage size of the backup destination are updated.Date
getTimeCreated()
The date and time the backup destination was created.Integer
getTotalStorageSizeInGBs()
The total storage size of the backup destination in GBs, rounded to the nearest integer.BackupDestinationSummary.Type
getType()
Type of the backup destination.Integer
getUtilizedStorageSizeInGBs()
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.int
hashCode()
BackupDestinationSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
BackupDestinationSummary
@Deprecated @ConstructorProperties({"id","displayName","compartmentId","type","associatedDatabases","connectionString","vpcUsers","localMountPointPath","nfsMountType","nfsServer","nfsServerExport","lifecycleState","timeCreated","lifecycleDetails","freeformTags","definedTags","totalStorageSizeInGBs","utilizedStorageSizeInGBs","timeAtWhichStorageDetailsAreUpdated"}) public BackupDestinationSummary(String id, String displayName, String compartmentId, BackupDestinationSummary.Type type, List<AssociatedDatabaseDetails> associatedDatabases, String connectionString, List<String> vpcUsers, String localMountPointPath, BackupDestinationSummary.NfsMountType nfsMountType, List<String> nfsServer, String nfsServerExport, BackupDestinationSummary.LifecycleState lifecycleState, Date timeCreated, String lifecycleDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Integer totalStorageSizeInGBs, Integer utilizedStorageSizeInGBs, Date timeAtWhichStorageDetailsAreUpdated)
Deprecated.
-
-
Method Detail
-
builder
public static BackupDestinationSummary.Builder builder()
Create a new builder.
-
toBuilder
public BackupDestinationSummary.Builder toBuilder()
-
getDisplayName
public String getDisplayName()
The user-provided name of the backup destination.- Returns:
- the value
-
getType
public BackupDestinationSummary.Type getType()
Type of the backup destination.- Returns:
- the value
-
getAssociatedDatabases
public List<AssociatedDatabaseDetails> getAssociatedDatabases()
List of databases associated with the backup destination.- Returns:
- the value
-
getConnectionString
public String getConnectionString()
For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.- Returns:
- the value
-
getVpcUsers
public 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
-
getLocalMountPointPath
public 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
-
getNfsMountType
public BackupDestinationSummary.NfsMountType getNfsMountType()
NFS Mount type for backup destination.- Returns:
- the value
-
getNfsServer
public List<String> getNfsServer()
Host names or IP addresses for NFS Auto mount.- Returns:
- the value
-
getNfsServerExport
public String getNfsServerExport()
Specifies the directory on which to mount the file system- Returns:
- the value
-
getLifecycleState
public BackupDestinationSummary.LifecycleState getLifecycleState()
The current lifecycle state of the backup destination.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the backup destination was created.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
A descriptive text associated with the lifecycleState.Typically contains additional displayable text
- Returns:
- the value
-
getFreeformTags
public 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
-
getDefinedTags
public 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
-
getTotalStorageSizeInGBs
public Integer getTotalStorageSizeInGBs()
The total storage size of the backup destination in GBs, rounded to the nearest integer.- Returns:
- the value
-
getUtilizedStorageSizeInGBs
public Integer getUtilizedStorageSizeInGBs()
The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer.- Returns:
- the value
-
getTimeAtWhichStorageDetailsAreUpdated
public Date getTimeAtWhichStorageDetailsAreUpdated()
The time when the total storage size and the utilized storage size of the backup destination are updated.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-