Class DistributedDbBackupDestination.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabase.model.DistributedDbBackupDestination.Builder
-
- Enclosing class:
- DistributedDbBackupDestination
public static class DistributedDbBackupDestination.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedDbBackupDestinationbuild()DistributedDbBackupDestination.Buildercopy(DistributedDbBackupDestination model)DistributedDbBackupDestination.BuilderdbrsPolicyId(String dbrsPolicyId)The OCID of the DBRS policy used for backup.DistributedDbBackupDestination.Builderid(String id)The OCID of the backup destination.DistributedDbBackupDestination.BuilderinternetProxy(String internetProxy)Proxy URL to connect to object store.DistributedDbBackupDestination.BuilderisRemote(Boolean isRemote)Indicates whether the backup destination is cross-region or local region.DistributedDbBackupDestination.BuilderisZeroDataLossEnabled(Boolean isZeroDataLossEnabled)Indicates whether Zero Data Loss functionality is enabled for a Recovery Appliance backup destination in an Autonomous Container Database.DistributedDbBackupDestination.BuilderremoteRegion(String remoteRegion)The name of the remote region where the remote automatic incremental backups will be stored.DistributedDbBackupDestination.Buildertype(DistributedDbBackupDestination.Type type)Type of the database backup destination.DistributedDbBackupDestination.BuildervpcPassword(String vpcPassword)For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.DistributedDbBackupDestination.BuildervpcUser(String vpcUser)For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.
-
-
-
Method Detail
-
type
public DistributedDbBackupDestination.Builder type(DistributedDbBackupDestination.Type type)
Type of the database backup destination.- Parameters:
type- the value to set- Returns:
- this builder
-
id
public DistributedDbBackupDestination.Builder id(String id)
The OCID of the backup destination.- Parameters:
id- the value to set- Returns:
- this builder
-
vpcUser
public DistributedDbBackupDestination.Builder vpcUser(String vpcUser)
For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance.- Parameters:
vpcUser- the value to set- Returns:
- this builder
-
vpcPassword
public DistributedDbBackupDestination.Builder vpcPassword(String vpcPassword)
For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.- Parameters:
vpcPassword- the value to set- Returns:
- this builder
-
isZeroDataLossEnabled
public DistributedDbBackupDestination.Builder isZeroDataLossEnabled(Boolean isZeroDataLossEnabled)
Indicates whether Zero Data Loss functionality is enabled for a Recovery Appliance backup destination in an Autonomous Container Database.When enabled, the database automatically ships all redo logs in real-time to the Recovery Appliance for a Zero Data Loss recovery setup (sub-second RPO). Defaults to TRUE if no value is given.
- Parameters:
isZeroDataLossEnabled- the value to set- Returns:
- this builder
-
internetProxy
public DistributedDbBackupDestination.Builder internetProxy(String internetProxy)
Proxy URL to connect to object store.- Parameters:
internetProxy- the value to set- Returns:
- this builder
-
dbrsPolicyId
public DistributedDbBackupDestination.Builder dbrsPolicyId(String dbrsPolicyId)
The OCID of the DBRS policy used for backup.- Parameters:
dbrsPolicyId- the value to set- Returns:
- this builder
-
isRemote
public DistributedDbBackupDestination.Builder isRemote(Boolean isRemote)
Indicates whether the backup destination is cross-region or local region.- Parameters:
isRemote- the value to set- Returns:
- this builder
-
remoteRegion
public DistributedDbBackupDestination.Builder remoteRegion(String remoteRegion)
The name of the remote region where the remote automatic incremental backups will be stored.For information about valid region names, see Regions and Availability Domains.
- Parameters:
remoteRegion- the value to set- Returns:
- this builder
-
build
public DistributedDbBackupDestination build()
-
copy
public DistributedDbBackupDestination.Builder copy(DistributedDbBackupDestination model)
-
-