Class ListBackupsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • databaseId

        public ListBackupsRequest.Builder databaseId​(String databaseId)
        The OCID of the database.
        Parameters:
        databaseId - the value to set
        Returns:
        this builder instance
      • compartmentId

        public ListBackupsRequest.Builder compartmentId​(String compartmentId)
        The compartment OCID.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • limit

        public ListBackupsRequest.Builder limit​(Integer limit)
        The maximum number of items to return per page.
        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • page

        public ListBackupsRequest.Builder page​(String page)
        The pagination token to continue listing from.
        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • shapeFamily

        public ListBackupsRequest.Builder shapeFamily​(ListBackupsRequest.ShapeFamily shapeFamily)
        If provided, filters the results to the set of database versions which are supported for the given shape family.
        Parameters:
        shapeFamily - the value to set
        Returns:
        this builder instance
      • version

        public ListBackupsRequest.Builder version​(String version)
        A filter to return only resources that match the given database version.
        Parameters:
        version - the value to set
        Returns:
        this builder instance
      • type

        public ListBackupsRequest.Builder type​(String type)
        A filter to return only backups that matches with the given type of Backup.
        Parameters:
        type - the value to set
        Returns:
        this builder instance
      • lifecycleState

        public ListBackupsRequest.Builder lifecycleState​(BackupSummary.LifecycleState lifecycleState)
        A filter to return only resources that match the given lifecycle state exactly.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder instance
      • timeExpiryScheduledGreaterThanOrEqualTo

        public ListBackupsRequest.Builder timeExpiryScheduledGreaterThanOrEqualTo​(Date timeExpiryScheduledGreaterThanOrEqualTo)
        The start of date-time range of expiration for the long term backups to be fetched.
        Parameters:
        timeExpiryScheduledGreaterThanOrEqualTo - the value to set
        Returns:
        this builder instance
      • timeExpiryScheduledLessThan

        public ListBackupsRequest.Builder timeExpiryScheduledLessThan​(Date timeExpiryScheduledLessThan)
        The end of date-time range of expiration for the long term backups to be fetched.
        Parameters:
        timeExpiryScheduledLessThan - the value to set
        Returns:
        this builder instance
      • backupDestinationType

        public ListBackupsRequest.Builder backupDestinationType​(String backupDestinationType)
        A filter to return only resources that match the given backup destination type.
        Parameters:
        backupDestinationType - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public ListBackupsRequest.Builder invocationCallback​(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
        Set the invocation callback for the request to be built.
        Parameters:
        invocationCallback - the invocation callback to be set for the request
        Returns:
        this builder instance
      • retryConfiguration

        public ListBackupsRequest.Builder retryConfiguration​(RetryConfiguration retryConfiguration)
        Set the retry configuration for the request to be built.
        Parameters:
        retryConfiguration - the retry configuration to be used for the request
        Returns:
        this builder instance