Class CreateBackupDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public CreateBackupDetails.Builder displayName​(String displayName)
        A user-friendly display name for the backup.

        Avoid entering confidential information.

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

        public CreateBackupDetails.Builder description​(String description)
        A description for the backup.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • compartmentId

        public CreateBackupDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the backup.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • dbSystemId

        public CreateBackupDetails.Builder dbSystemId​(String dbSystemId)
        The ID of the database system.
        Parameters:
        dbSystemId - the value to set
        Returns:
        this builder
      • retentionPeriod

        public CreateBackupDetails.Builder retentionPeriod​(Integer retentionPeriod)
        Backup retention period in days.
        Parameters:
        retentionPeriod - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateBackupDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public CreateBackupDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

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