public static class NodeBackup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NodeBackup.Builder |
backupTriggerType(NodeBackup.BackupTriggerType backupTriggerType)
type based on how backup action was initiated.
|
NodeBackup.Builder |
backupType(NodeBackup.BackupType backupType)
Incremental backup type includes only the changes since the last backup.
|
NodeBackup |
build() |
NodeBackup.Builder |
copy(NodeBackup model) |
NodeBackup.Builder |
displayName(String displayName)
BDS generated name for the backup.
|
NodeBackup.Builder |
id(String id)
The id of the node backup.
|
NodeBackup.Builder |
lifecycleState(NodeBackup.LifecycleState lifecycleState)
The state of the NodeBackup.
|
NodeBackup.Builder |
nodeBackupConfigId(String nodeBackupConfigId)
The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by
applying the configuration.
|
NodeBackup.Builder |
nodeHostName(String nodeHostName)
Host name of the node to which this backup belongs.
|
NodeBackup.Builder |
nodeInstanceId(String nodeInstanceId)
The instance OCID of the node, which is the resource from which the node backup was
acquired.
|
NodeBackup.Builder |
timeCreated(Date timeCreated)
The time the cluster was created, shown as an RFC 3339 formatted datetime string.
|
public NodeBackup.Builder id(String id)
The id of the node backup.
id
- the value to setpublic NodeBackup.Builder displayName(String displayName)
BDS generated name for the backup. Format is nodeHostName_timeCreated
displayName
- the value to setpublic NodeBackup.Builder nodeInstanceId(String nodeInstanceId)
The instance OCID of the node, which is the resource from which the node backup was acquired.
nodeInstanceId
- the value to setpublic NodeBackup.Builder nodeHostName(String nodeHostName)
Host name of the node to which this backup belongs.
nodeHostName
- the value to setpublic NodeBackup.Builder backupTriggerType(NodeBackup.BackupTriggerType backupTriggerType)
type based on how backup action was initiated.
backupTriggerType
- the value to setpublic NodeBackup.Builder nodeBackupConfigId(String nodeBackupConfigId)
The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.
nodeBackupConfigId
- the value to setpublic NodeBackup.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 NodeBackup.Builder lifecycleState(NodeBackup.LifecycleState lifecycleState)
The state of the NodeBackup.
lifecycleState
- the value to setpublic NodeBackup.Builder timeCreated(Date timeCreated)
The time the cluster was created, shown as an RFC 3339 formatted datetime string.
timeCreated
- the value to setpublic NodeBackup build()
public NodeBackup.Builder copy(NodeBackup model)
Copyright © 2016–2024. All rights reserved.