Package com.oracle.bmc.bds.model
Class NodeBackupConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.NodeBackupConfiguration.Builder
-
- Enclosing class:
- NodeBackupConfiguration
public static class NodeBackupConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeBackupConfiguration.Builder
backupType(NodeBackup.BackupType backupType)
Incremental backup type includes only the changes since the last backup.NodeBackupConfiguration.Builder
bdsInstanceId(String bdsInstanceId)
The OCID of the bdsInstance which is the parent resource id.NodeBackupConfiguration
build()
NodeBackupConfiguration.Builder
copy(NodeBackupConfiguration model)
NodeBackupConfiguration.Builder
displayName(String displayName)
A user-friendly name.NodeBackupConfiguration.Builder
id(String id)
The unique identifier for the NodeBackupConfiguration.NodeBackupConfiguration.Builder
levelTypeDetails(LevelTypeDetails levelTypeDetails)
NodeBackupConfiguration.Builder
lifecycleState(NodeBackupConfiguration.LifecycleState lifecycleState)
The state of the NodeBackupConfiguration.NodeBackupConfiguration.Builder
numberOfBackupsToRetain(Integer numberOfBackupsToRetain)
Number of backup copies to retain.NodeBackupConfiguration.Builder
schedule(String schedule)
Day/time recurrence (specified following RFC 5545) at which to trigger the backup process.NodeBackupConfiguration.Builder
timeCreated(Date timeCreated)
The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime string.NodeBackupConfiguration.Builder
timeUpdated(Date timeUpdated)
The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime string.NodeBackupConfiguration.Builder
timezone(String timezone)
The time zone of the execution schedule, in IANA time zone database name format
-
-
-
Method Detail
-
id
public NodeBackupConfiguration.Builder id(String id)
The unique identifier for the NodeBackupConfiguration.- Parameters:
id
- the value to set- Returns:
- this builder
-
bdsInstanceId
public NodeBackupConfiguration.Builder bdsInstanceId(String bdsInstanceId)
The OCID of the bdsInstance which is the parent resource id.- Parameters:
bdsInstanceId
- the value to set- Returns:
- this builder
-
displayName
public NodeBackupConfiguration.Builder displayName(String displayName)
A user-friendly name.Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
levelTypeDetails
public NodeBackupConfiguration.Builder levelTypeDetails(LevelTypeDetails levelTypeDetails)
-
lifecycleState
public NodeBackupConfiguration.Builder lifecycleState(NodeBackupConfiguration.LifecycleState lifecycleState)
The state of the NodeBackupConfiguration.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public NodeBackupConfiguration.Builder timeCreated(Date timeCreated)
The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime string.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public NodeBackupConfiguration.Builder timeUpdated(Date timeUpdated)
The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime string.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
timezone
public NodeBackupConfiguration.Builder timezone(String timezone)
The time zone of the execution schedule, in IANA time zone database name format- Parameters:
timezone
- the value to set- Returns:
- this builder
-
schedule
public NodeBackupConfiguration.Builder schedule(String schedule)
Day/time recurrence (specified following RFC 5545) at which to trigger the backup process.Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not supported.
- Parameters:
schedule
- the value to set- Returns:
- this builder
-
numberOfBackupsToRetain
public NodeBackupConfiguration.Builder numberOfBackupsToRetain(Integer numberOfBackupsToRetain)
Number of backup copies to retain.- Parameters:
numberOfBackupsToRetain
- the value to set- Returns:
- this builder
-
backupType
public NodeBackupConfiguration.Builder backupType(NodeBackup.BackupType backupType)
Incremental backup type includes only the changes since the last backup.Full backup type includes all changes since the volume was created.
- Parameters:
backupType
- the value to set- Returns:
- this builder
-
build
public NodeBackupConfiguration build()
-
copy
public NodeBackupConfiguration.Builder copy(NodeBackupConfiguration model)
-
-