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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeBackup.BuilderbackupTriggerType(NodeBackup.BackupTriggerType backupTriggerType)type based on how backup action was initiated.NodeBackup.BuilderbackupType(NodeBackup.BackupType backupType)Incremental backup type includes only the changes since the last backup.NodeBackupbuild()NodeBackup.Buildercopy(NodeBackup model)NodeBackup.BuilderdisplayName(String displayName)BDS generated name for the backup.NodeBackup.Builderid(String id)The id of the node backup.NodeBackup.BuilderlifecycleState(NodeBackup.LifecycleState lifecycleState)The state of the NodeBackup.NodeBackup.BuildernodeBackupConfigId(String nodeBackupConfigId)The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.NodeBackup.BuildernodeHostName(String nodeHostName)Host name of the node to which this backup belongs.NodeBackup.BuildernodeInstanceId(String nodeInstanceId)The instance OCID of the node, which is the resource from which the node backup was acquired.NodeBackup.BuildertimeCreated(Date timeCreated)The time the cluster was created, shown as an RFC 3339 formatted datetime string.
 
- 
- 
- 
Method Detail- 
idpublic NodeBackup.Builder id(String id) The id of the node backup.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic NodeBackup.Builder displayName(String displayName) BDS generated name for the backup.Format is nodeHostName_timeCreated - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
nodeInstanceIdpublic 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
 
 - 
nodeHostNamepublic NodeBackup.Builder nodeHostName(String nodeHostName) Host name of the node to which this backup belongs.- Parameters:
- nodeHostName- the value to set
- Returns:
- this builder
 
 - 
backupTriggerTypepublic NodeBackup.Builder backupTriggerType(NodeBackup.BackupTriggerType backupTriggerType) type based on how backup action was initiated.- Parameters:
- backupTriggerType- the value to set
- Returns:
- this builder
 
 - 
nodeBackupConfigIdpublic 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
 
 - 
backupTypepublic 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
 
 - 
lifecycleStatepublic NodeBackup.Builder lifecycleState(NodeBackup.LifecycleState lifecycleState) The state of the NodeBackup.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
buildpublic NodeBackup build() 
 - 
copypublic NodeBackup.Builder copy(NodeBackup model) 
 
- 
 
-