public static class NodeBackupConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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
|
public NodeBackupConfiguration.Builder id(String id)
The unique identifier for the NodeBackupConfiguration.
id
- the value to setpublic NodeBackupConfiguration.Builder bdsInstanceId(String bdsInstanceId)
The OCID of the bdsInstance which is the parent resource id.
bdsInstanceId
- the value to setpublic 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.
displayName
- the value to setpublic NodeBackupConfiguration.Builder levelTypeDetails(LevelTypeDetails levelTypeDetails)
public NodeBackupConfiguration.Builder lifecycleState(NodeBackupConfiguration.LifecycleState lifecycleState)
The state of the NodeBackupConfiguration.
lifecycleState
- the value to setpublic NodeBackupConfiguration.Builder timeCreated(Date timeCreated)
The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime string.
timeCreated
- the value to setpublic NodeBackupConfiguration.Builder timeUpdated(Date timeUpdated)
The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime string.
timeUpdated
- the value to setpublic NodeBackupConfiguration.Builder timezone(String timezone)
The time zone of the execution schedule, in IANA time zone database name format
timezone
- the value to setpublic 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.
schedule
- the value to setpublic NodeBackupConfiguration.Builder numberOfBackupsToRetain(Integer numberOfBackupsToRetain)
Number of backup copies to retain.
numberOfBackupsToRetain
- the value to setpublic 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.
backupType
- the value to setpublic NodeBackupConfiguration build()
public NodeBackupConfiguration.Builder copy(NodeBackupConfiguration model)
Copyright © 2016–2024. All rights reserved.