Package com.oracle.bmc.database.model
Class BackupDestinationDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.BackupDestinationDetails.Builder
-
- Enclosing class:
- BackupDestinationDetails
public static class BackupDestinationDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupDestinationDetails
build()
BackupDestinationDetails.Builder
copy(BackupDestinationDetails model)
BackupDestinationDetails.Builder
dbrsPolicyId(String dbrsPolicyId)
The OCID of the DBRS policy used for backup.BackupDestinationDetails.Builder
id(String id)
The OCID of the backup destination.BackupDestinationDetails.Builder
internetProxy(String internetProxy)
Proxy URL to connect to object store.BackupDestinationDetails.Builder
isRemote(Boolean isRemote)
Indicates whether the backup destination is cross-region or local region.BackupDestinationDetails.Builder
remoteRegion(String remoteRegion)
The name of the remote region where the remote automatic incremental backups will be stored.BackupDestinationDetails.Builder
type(BackupDestinationDetails.Type type)
Type of the database backup destination.BackupDestinationDetails.Builder
vpcPassword(String vpcPassword)
For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance.BackupDestinationDetails.Builder
vpcUser(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 BackupDestinationDetails.Builder type(BackupDestinationDetails.Type type)
Type of the database backup destination.- Parameters:
type
- the value to set- Returns:
- this builder
-
id
public BackupDestinationDetails.Builder id(String id)
The OCID of the backup destination.- Parameters:
id
- the value to set- Returns:
- this builder
-
vpcUser
public BackupDestinationDetails.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 BackupDestinationDetails.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
-
internetProxy
public BackupDestinationDetails.Builder internetProxy(String internetProxy)
Proxy URL to connect to object store.- Parameters:
internetProxy
- the value to set- Returns:
- this builder
-
dbrsPolicyId
public BackupDestinationDetails.Builder dbrsPolicyId(String dbrsPolicyId)
The OCID of the DBRS policy used for backup.- Parameters:
dbrsPolicyId
- the value to set- Returns:
- this builder
-
isRemote
public BackupDestinationDetails.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 BackupDestinationDetails.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](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm).
- Parameters:
remoteRegion
- the value to set- Returns:
- this builder
-
build
public BackupDestinationDetails build()
-
copy
public BackupDestinationDetails.Builder copy(BackupDestinationDetails model)
-
-