Class AwrDatabaseSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • awrSourceDatabaseIdentifier

        public AwrDatabaseSummary.Builder awrSourceDatabaseIdentifier​(String awrSourceDatabaseIdentifier)
        The internal ID of the database.

        The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabases

        Parameters:
        awrSourceDatabaseIdentifier - the value to set
        Returns:
        this builder
      • instanceList

        public AwrDatabaseSummary.Builder instanceList​(List<Integer> instanceList)
        The database instance numbers.
        Parameters:
        instanceList - the value to set
        Returns:
        this builder
      • timeDbStartup

        public AwrDatabaseSummary.Builder timeDbStartup​(Date timeDbStartup)
        The timestamp of the database startup.
        Parameters:
        timeDbStartup - the value to set
        Returns:
        this builder
      • timeFirstSnapshotBegin

        public AwrDatabaseSummary.Builder timeFirstSnapshotBegin​(Date timeFirstSnapshotBegin)
        The start time of the earliest snapshot.
        Parameters:
        timeFirstSnapshotBegin - the value to set
        Returns:
        this builder
      • timeLatestSnapshotEnd

        public AwrDatabaseSummary.Builder timeLatestSnapshotEnd​(Date timeLatestSnapshotEnd)
        The end time of the latest snapshot.
        Parameters:
        timeLatestSnapshotEnd - the value to set
        Returns:
        this builder
      • firstSnapshotIdentifier

        public AwrDatabaseSummary.Builder firstSnapshotIdentifier​(Integer firstSnapshotIdentifier)
        The ID of the earliest snapshot.

        The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots

        Parameters:
        firstSnapshotIdentifier - the value to set
        Returns:
        this builder
      • latestSnapshotIdentifier

        public AwrDatabaseSummary.Builder latestSnapshotIdentifier​(Integer latestSnapshotIdentifier)
        The ID of the latest snapshot.

        The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots

        Parameters:
        latestSnapshotIdentifier - the value to set
        Returns:
        this builder
      • snapshotCount

        public AwrDatabaseSummary.Builder snapshotCount​(Long snapshotCount)
        The total number of snapshots.
        Parameters:
        snapshotCount - the value to set
        Returns:
        this builder
      • snapshotIntervalInMin

        public AwrDatabaseSummary.Builder snapshotIntervalInMin​(Integer snapshotIntervalInMin)
        The interval time between snapshots (in minutes).
        Parameters:
        snapshotIntervalInMin - the value to set
        Returns:
        this builder
      • dbVersion

        public AwrDatabaseSummary.Builder dbVersion​(String dbVersion)
        The version of the database.
        Parameters:
        dbVersion - the value to set
        Returns:
        this builder
      • snapshotTimezone

        public AwrDatabaseSummary.Builder snapshotTimezone​(String snapshotTimezone)
        The time zone of the snapshot.

        sample - snapshotTimezone=+0 00:00:00

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