public static class BackupDestination.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BackupDestination.Builder |
associatedDatabases(List<AssociatedDatabaseDetails> associatedDatabases)
List of databases associated with the backup destination.
|
BackupDestination |
build() |
BackupDestination.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
BackupDestination.Builder |
connectionString(String connectionString)
For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the
Recovery Appliance.
|
BackupDestination.Builder |
copy(BackupDestination model) |
BackupDestination.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
BackupDestination.Builder |
displayName(String displayName)
The user-provided name of the backup destination.
|
BackupDestination.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
BackupDestination.Builder |
id(String id)
The OCID of the
backup destination.
|
BackupDestination.Builder |
lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState.
|
BackupDestination.Builder |
lifecycleState(BackupDestination.LifecycleState lifecycleState)
The current lifecycle state of the backup destination.
|
BackupDestination.Builder |
localMountPointPath(String localMountPointPath)
The local directory path on each VM cluster node where the NFS server location is
mounted.
|
BackupDestination.Builder |
nfsMountType(BackupDestination.NfsMountType nfsMountType)
NFS Mount type for backup destination.
|
BackupDestination.Builder |
nfsServer(List<String> nfsServer)
Host names or IP addresses for NFS Auto mount.
|
BackupDestination.Builder |
nfsServerExport(String nfsServerExport)
Specifies the directory on which to mount the file system
|
BackupDestination.Builder |
timeCreated(Date timeCreated)
The date and time the backup destination was created.
|
BackupDestination.Builder |
type(BackupDestination.Type type)
Type of the backup destination.
|
BackupDestination.Builder |
vpcUsers(List<String> vpcUsers)
For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that
are used to access the Recovery Appliance.
|
public BackupDestination.Builder id(String id)
The OCID of the backup destination.
id
- the value to setpublic BackupDestination.Builder displayName(String displayName)
The user-provided name of the backup destination.
displayName
- the value to setpublic BackupDestination.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic BackupDestination.Builder type(BackupDestination.Type type)
Type of the backup destination.
type
- the value to setpublic BackupDestination.Builder associatedDatabases(List<AssociatedDatabaseDetails> associatedDatabases)
List of databases associated with the backup destination.
associatedDatabases
- the value to setpublic BackupDestination.Builder connectionString(String connectionString)
For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.
connectionString
- the value to setpublic BackupDestination.Builder vpcUsers(List<String> vpcUsers)
For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.
vpcUsers
- the value to setpublic BackupDestination.Builder localMountPointPath(String localMountPointPath)
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.
localMountPointPath
- the value to setpublic BackupDestination.Builder nfsMountType(BackupDestination.NfsMountType nfsMountType)
NFS Mount type for backup destination.
nfsMountType
- the value to setpublic BackupDestination.Builder nfsServer(List<String> nfsServer)
Host names or IP addresses for NFS Auto mount.
nfsServer
- the value to setpublic BackupDestination.Builder nfsServerExport(String nfsServerExport)
Specifies the directory on which to mount the file system
nfsServerExport
- the value to setpublic BackupDestination.Builder lifecycleState(BackupDestination.LifecycleState lifecycleState)
The current lifecycle state of the backup destination.
lifecycleState
- the value to setpublic BackupDestination.Builder timeCreated(Date timeCreated)
The date and time the backup destination was created.
timeCreated
- the value to setpublic BackupDestination.Builder lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState. Typically contains additional displayable text
lifecycleDetails
- the value to setpublic BackupDestination.Builder freeformTags(Map<String,String> freeformTags)
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"}
freeformTags
- the value to setpublic BackupDestination.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
definedTags
- the value to setpublic BackupDestination build()
public BackupDestination.Builder copy(BackupDestination model)
Copyright © 2016–2024. All rights reserved.