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