Class AwrDbSnapshotRangeSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • awrDbId

        public AwrDbSnapshotRangeSummary.Builder awrDbId​(String awrDbId)
        The internal ID of the database.

        The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs

        Parameters:
        awrDbId - the value to set
        Returns:
        this builder
      • srcDbId

        public AwrDbSnapshotRangeSummary.Builder srcDbId​(String srcDbId)
        The internal ID of the database where the AWR snapshot data was collected.
        Parameters:
        srcDbId - the value to set
        Returns:
        this builder
      • srcDbName

        public AwrDbSnapshotRangeSummary.Builder srcDbName​(String srcDbName)
        The name of the database where the AWR snapshot data was collected.
        Parameters:
        srcDbName - the value to set
        Returns:
        this builder
      • timeDbStartup

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

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

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

        public AwrDbSnapshotRangeSummary.Builder firstSnapshotId​(Integer firstSnapshotId)
        The ID of the earliest snapshot.

        The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots

        Parameters:
        firstSnapshotId - the value to set
        Returns:
        this builder
      • latestSnapshotId

        public AwrDbSnapshotRangeSummary.Builder latestSnapshotId​(Integer latestSnapshotId)
        The ID of the latest snapshot.

        The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots

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

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

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

        public AwrDbSnapshotRangeSummary.Builder containerId​(Integer containerId)
        ID of the database container.

        The database container ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges

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

        public AwrDbSnapshotRangeSummary.Builder snapshotTimezone​(String snapshotTimezone)
        The time zone of the snapshot.
        Parameters:
        snapshotTimezone - the value to set
        Returns:
        this builder