Class CopyBackupDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public CopyBackupDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment the DB system backup is to be copied to.

        *Note:** The compartment must be the same as the compartment of the DB system backup in the source region.

        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • description

        public CopyBackupDetails.Builder description​(String description)
        A user-supplied description for the DB system backup.

        By default, the source backup description will be used.

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

        public CopyBackupDetails.Builder displayName​(String displayName)
        A user-supplied display name for the DB system backup.

        By default, the source backup display name will be used.

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

        public CopyBackupDetails.Builder backupCopyRetentionInDays​(Integer backupCopyRetentionInDays)
        Number of days to retain the copied DB system backup.

        *Note:** The maximum value for an automatic backup is 35, and the maximum value for a manual backup is 365.

        Parameters:
        backupCopyRetentionInDays - the value to set
        Returns:
        this builder
      • sourceBackupId

        public CopyBackupDetails.Builder sourceBackupId​(String sourceBackupId)
        The OCID of DB system backup to be copied.
        Parameters:
        sourceBackupId - the value to set
        Returns:
        this builder