Class DistributedDbBackupDestination.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabasev26.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.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.
-
-
-
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
-
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)
-
-