Class AwrDatabaseParameterChangeSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200630")
    public final class AwrDatabaseParameterChangeSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    A summary of the changes made to a single AWR database parameter.
    Note: Objects should always be created or deserialized using the AwrDatabaseParameterChangeSummary.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 AwrDatabaseParameterChangeSummary.Builder, which maintain a set of all explicitly set fields called AwrDatabaseParameterChangeSummary.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

      • AwrDatabaseParameterChangeSummary

        @Deprecated
        @ConstructorProperties({"timeBegin","timeEnd","instanceNumber","previousValue","value","snapshotIdentifier","valueModified","isDefault"})
        public AwrDatabaseParameterChangeSummary​(Date timeBegin,
                                                 Date timeEnd,
                                                 Integer instanceNumber,
                                                 String previousValue,
                                                 String value,
                                                 Integer snapshotIdentifier,
                                                 String valueModified,
                                                 Boolean isDefault)
        Deprecated.
    • Method Detail

      • getTimeBegin

        public Date getTimeBegin()
        The start time of the interval.
        Returns:
        the value
      • getTimeEnd

        public Date getTimeEnd()
        The end time of the interval.
        Returns:
        the value
      • getInstanceNumber

        public Integer getInstanceNumber()
        The database instance number.
        Returns:
        the value
      • getPreviousValue

        public String getPreviousValue()
        The previous value of the database parameter.
        Returns:
        the value
      • getValue

        public String getValue()
        The current value of the database parameter.
        Returns:
        the value
      • getSnapshotIdentifier

        public Integer getSnapshotIdentifier()
        The ID of the snapshot with the parameter value changed.

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

        Returns:
        the value
      • getValueModified

        public String getValueModified()
        Indicates whether the parameter has been modified after instance startup: - MODIFIED - Parameter has been modified with ALTER SESSION - SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM (which causes all the currently logged in sessions values to be modified) - FALSE - Parameter has not been modified after instance startup
        Returns:
        the value
      • getIsDefault

        public Boolean getIsDefault()
        Indicates whether the parameter value in the end snapshot is the default.
        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