Class AwrSourceSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200630")
    public final class AwrSourceSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Summary of an AwrSource.
    Note: Objects should always be created or deserialized using the AwrSourceSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the AwrSourceSummary.Builder, which maintain a set of all explicitly set fields called AwrSourceSummary.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Constructor Detail

      • AwrSourceSummary

        @Deprecated
        @ConstructorProperties({"awrHubId","name","awrSourceDatabaseId","snapshotsUploaded","minSnapshotIdentifier","maxSnapshotIdentifier","timeFirstSnapshotGenerated","timeLastSnapshotGenerated","hoursSinceLastImport"})
        public AwrSourceSummary​(String awrHubId,
                                String name,
                                String awrSourceDatabaseId,
                                BigDecimal snapshotsUploaded,
                                BigDecimal minSnapshotIdentifier,
                                BigDecimal maxSnapshotIdentifier,
                                Date timeFirstSnapshotGenerated,
                                Date timeLastSnapshotGenerated,
                                Double hoursSinceLastImport)
        Deprecated.
    • Method Detail

      • getAwrHubId

        public String getAwrHubId()
        AWR Hub OCID
        Returns:
        the value
      • getName

        public String getName()
        Database name of the Source database for which AWR Data will be uploaded to AWR Hub.
        Returns:
        the value
      • getAwrSourceDatabaseId

        public String getAwrSourceDatabaseId()
        DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
        Returns:
        the value
      • getSnapshotsUploaded

        public BigDecimal getSnapshotsUploaded()
        Number of AWR snapshots uploaded from the Source database.
        Returns:
        the value
      • getMinSnapshotIdentifier

        public BigDecimal getMinSnapshotIdentifier()
        The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
        Returns:
        the value
      • getMaxSnapshotIdentifier

        public BigDecimal getMaxSnapshotIdentifier()
        The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
        Returns:
        the value
      • getTimeFirstSnapshotGenerated

        public Date getTimeFirstSnapshotGenerated()
        The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub.

        An RFC3339 formatted datetime string

        Returns:
        the value
      • getTimeLastSnapshotGenerated

        public Date getTimeLastSnapshotGenerated()
        The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub.

        An RFC3339 formatted datetime string

        Returns:
        the value
      • getHoursSinceLastImport

        public Double getHoursSinceLastImport()
        Number of hours since last AWR snapshots import happened from the Source database.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel