Class AutonomousDatabaseBackup.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • autonomousDatabaseId

        public AutonomousDatabaseBackup.Builder autonomousDatabaseId​(String autonomousDatabaseId)
        The OCID of the Autonomous AI Database.
        Parameters:
        autonomousDatabaseId - the value to set
        Returns:
        this builder
      • displayName

        public AutonomousDatabaseBackup.Builder displayName​(String displayName)
        The user-friendly name for the backup.

        The name does not have to be unique.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • isAutomatic

        public AutonomousDatabaseBackup.Builder isAutomatic​(Boolean isAutomatic)
        Indicates whether the backup is user-initiated or automatic.
        Parameters:
        isAutomatic - the value to set
        Returns:
        this builder
      • timeStarted

        public AutonomousDatabaseBackup.Builder timeStarted​(Date timeStarted)
        The date and time the backup started.
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeEnded

        public AutonomousDatabaseBackup.Builder timeEnded​(Date timeEnded)
        The date and time the backup completed.
        Parameters:
        timeEnded - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public AutonomousDatabaseBackup.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current lifecycle state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • databaseSizeInTBs

        public AutonomousDatabaseBackup.Builder databaseSizeInTBs​(BigDecimal databaseSizeInTBs)
        The size of the database in terabytes at the time the backup was taken.
        Parameters:
        databaseSizeInTBs - the value to set
        Returns:
        this builder
      • isRestorable

        public AutonomousDatabaseBackup.Builder isRestorable​(Boolean isRestorable)
        Indicates whether the backup can be used to restore the associated Autonomous AI Database.
        Parameters:
        isRestorable - the value to set
        Returns:
        this builder
      • keyStoreWalletName

        public AutonomousDatabaseBackup.Builder keyStoreWalletName​(String keyStoreWalletName)
        The wallet name for Oracle Key Vault.
        Parameters:
        keyStoreWalletName - the value to set
        Returns:
        this builder
      • kmsKeyId

        public AutonomousDatabaseBackup.Builder kmsKeyId​(String kmsKeyId)
        The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
        Parameters:
        kmsKeyId - the value to set
        Returns:
        this builder
      • vaultId

        public AutonomousDatabaseBackup.Builder vaultId​(String vaultId)
        The OCID of the Oracle Cloud Infrastructure vault.

        This parameter and secretId are required for Customer Managed Keys.

        Parameters:
        vaultId - the value to set
        Returns:
        this builder
      • kmsKeyVersionId

        public AutonomousDatabaseBackup.Builder kmsKeyVersionId​(String kmsKeyVersionId)
        The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.

        If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous AI Database Serverless does not use key versions, hence is not applicable for Autonomous AI Database Serverless instances.

        Parameters:
        kmsKeyVersionId - the value to set
        Returns:
        this builder
      • retentionPeriodInDays

        public AutonomousDatabaseBackup.Builder retentionPeriodInDays​(Integer retentionPeriodInDays)
        Retention period, in days, for long-term backups
        Parameters:
        retentionPeriodInDays - the value to set
        Returns:
        this builder
      • timeAvailableTill

        public AutonomousDatabaseBackup.Builder timeAvailableTill​(Date timeAvailableTill)
        Timestamp until when the backup will be available
        Parameters:
        timeAvailableTill - the value to set
        Returns:
        this builder
      • dbVersion

        public AutonomousDatabaseBackup.Builder dbVersion​(String dbVersion)
        A valid Oracle AI Database version for Autonomous AI Database.

        When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai. When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected. For new databases, it is recommended to use either 19c or 26ai.

        Parameters:
        dbVersion - the value to set
        Returns:
        this builder