Package com.oracle.bmc.bds.model
Class NodeBackup.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.NodeBackup.Builder
-
- Enclosing class:
- NodeBackup
public static class NodeBackup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public NodeBackup.Builder id(String id)
The id of the node backup.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public NodeBackup.Builder displayName(String displayName)
BDS generated name for the backup.Format is nodeHostName_timeCreated
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
nodeInstanceId
public NodeBackup.Builder nodeInstanceId(String nodeInstanceId)
The instance OCID of the node, which is the resource from which the node backup was acquired.- Parameters:
nodeInstanceId
- the value to set- Returns:
- this builder
-
nodeHostName
public NodeBackup.Builder nodeHostName(String nodeHostName)
Host name of the node to which this backup belongs.- Parameters:
nodeHostName
- the value to set- Returns:
- this builder
-
backupTriggerType
public NodeBackup.Builder backupTriggerType(NodeBackup.BackupTriggerType backupTriggerType)
type based on how backup action was initiated.- Parameters:
backupTriggerType
- the value to set- Returns:
- this builder
-
nodeBackupConfigId
public NodeBackup.Builder nodeBackupConfigId(String nodeBackupConfigId)
The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.- Parameters:
nodeBackupConfigId
- the value to set- Returns:
- this builder
-
backupType
public 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.
- Parameters:
backupType
- the value to set- Returns:
- this builder
-
lifecycleState
public NodeBackup.Builder lifecycleState(NodeBackup.LifecycleState lifecycleState)
The state of the NodeBackup.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public NodeBackup.Builder timeCreated(Date timeCreated)
The time the cluster was created, shown as an RFC 3339 formatted datetime string.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
build
public NodeBackup build()
-
copy
public NodeBackup.Builder copy(NodeBackup model)
-
-