Package com.oracle.bmc.database.model
Class BackupDestination.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.BackupDestination.Builder
-
- Enclosing class:
- BackupDestination
public static class BackupDestination.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 systemBackupDestination.Builder
timeAtWhichStorageDetailsAreUpdated(Date timeAtWhichStorageDetailsAreUpdated)
The time when the total storage size and the utilized storage size of the backup destination are updated.BackupDestination.Builder
timeCreated(Date timeCreated)
The date and time the backup destination was created.BackupDestination.Builder
totalStorageSizeInGBs(Integer totalStorageSizeInGBs)
The total storage size of the backup destination in GBs, rounded to the nearest integer.BackupDestination.Builder
type(BackupDestination.Type type)
Type of the backup destination.BackupDestination.Builder
utilizedStorageSizeInGBs(Integer utilizedStorageSizeInGBs)
The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer.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.
-
-
-
Method Detail
-
id
public BackupDestination.Builder id(String id)
The OCID of the backup destination.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public BackupDestination.Builder displayName(String displayName)
The user-provided name of the backup destination.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public BackupDestination.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
type
public BackupDestination.Builder type(BackupDestination.Type type)
Type of the backup destination.- Parameters:
type
- the value to set- Returns:
- this builder
-
associatedDatabases
public BackupDestination.Builder associatedDatabases(List<AssociatedDatabaseDetails> associatedDatabases)
List of databases associated with the backup destination.- Parameters:
associatedDatabases
- the value to set- Returns:
- this builder
-
connectionString
public BackupDestination.Builder connectionString(String connectionString)
For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.- Parameters:
connectionString
- the value to set- Returns:
- this builder
-
vpcUsers
public 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.- Parameters:
vpcUsers
- the value to set- Returns:
- this builder
-
localMountPointPath
public 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.
- Parameters:
localMountPointPath
- the value to set- Returns:
- this builder
-
nfsMountType
public BackupDestination.Builder nfsMountType(BackupDestination.NfsMountType nfsMountType)
NFS Mount type for backup destination.- Parameters:
nfsMountType
- the value to set- Returns:
- this builder
-
nfsServer
public BackupDestination.Builder nfsServer(List<String> nfsServer)
Host names or IP addresses for NFS Auto mount.- Parameters:
nfsServer
- the value to set- Returns:
- this builder
-
nfsServerExport
public BackupDestination.Builder nfsServerExport(String nfsServerExport)
Specifies the directory on which to mount the file system- Parameters:
nfsServerExport
- the value to set- Returns:
- this builder
-
lifecycleState
public BackupDestination.Builder lifecycleState(BackupDestination.LifecycleState lifecycleState)
The current lifecycle state of the backup destination.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public BackupDestination.Builder timeCreated(Date timeCreated)
The date and time the backup destination was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleDetails
public BackupDestination.Builder lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState.Typically contains additional displayable text
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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.
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
totalStorageSizeInGBs
public BackupDestination.Builder totalStorageSizeInGBs(Integer totalStorageSizeInGBs)
The total storage size of the backup destination in GBs, rounded to the nearest integer.- Parameters:
totalStorageSizeInGBs
- the value to set- Returns:
- this builder
-
utilizedStorageSizeInGBs
public BackupDestination.Builder utilizedStorageSizeInGBs(Integer utilizedStorageSizeInGBs)
The total amount of space utilized on the backup destination (in GBs), rounded to the nearest integer.- Parameters:
utilizedStorageSizeInGBs
- the value to set- Returns:
- this builder
-
timeAtWhichStorageDetailsAreUpdated
public BackupDestination.Builder timeAtWhichStorageDetailsAreUpdated(Date timeAtWhichStorageDetailsAreUpdated)
The time when the total storage size and the utilized storage size of the backup destination are updated.- Parameters:
timeAtWhichStorageDetailsAreUpdated
- the value to set- Returns:
- this builder
-
build
public BackupDestination build()
-
copy
public BackupDestination.Builder copy(BackupDestination model)
-
-