Class NodeBackup.Builder

  • Enclosing class:
    NodeBackup

    public static class NodeBackup.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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