@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class BackupDestination extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Backup destination details.
Note: Objects should always be created or deserialized using the BackupDestination.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 BackupDestination.Builder
, which maintain a
set of all explicitly set fields called BackupDestination.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 |
BackupDestination.Builder |
static class |
BackupDestination.LifecycleState
The current lifecycle state of the backup destination.
|
static class |
BackupDestination.NfsMountType
NFS Mount type for backup destination.
|
static class |
BackupDestination.Type
Type of the backup destination.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
BackupDestination(String id,
String displayName,
String compartmentId,
BackupDestination.Type type,
List<AssociatedDatabaseDetails> associatedDatabases,
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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BackupDestination.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.
|
BackupDestination.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.
|
BackupDestination.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 system
|
Date |
getTimeCreated()
The date and time the backup destination was created.
|
BackupDestination.Type |
getType()
Type of the backup destination.
|
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() |
BackupDestination.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","compartmentId","type","associatedDatabases","connectionString","vpcUsers","localMountPointPath","nfsMountType","nfsServer","nfsServerExport","lifecycleState","timeCreated","lifecycleDetails","freeformTags","definedTags"}) public BackupDestination(String id, String displayName, String compartmentId, BackupDestination.Type type, List<AssociatedDatabaseDetails> associatedDatabases, 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)
public static BackupDestination.Builder builder()
Create a new builder.
public BackupDestination.Builder toBuilder()
public String getDisplayName()
The user-provided name of the backup destination.
public BackupDestination.Type getType()
Type of the backup destination.
public List<AssociatedDatabaseDetails> getAssociatedDatabases()
List of databases associated with the backup destination.
public String getConnectionString()
For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.
public List<String> getVpcUsers()
For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
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.
public BackupDestination.NfsMountType getNfsMountType()
NFS Mount type for backup destination.
public List<String> getNfsServer()
Host names or IP addresses for NFS Auto mount.
public String getNfsServerExport()
Specifies the directory on which to mount the file system
public BackupDestination.LifecycleState getLifecycleState()
The current lifecycle state of the backup destination.
public Date getTimeCreated()
The date and time the backup destination was created.
public String getLifecycleDetails()
A descriptive text associated with the lifecycleState. Typically contains additional displayable text
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"}
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.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.