Package com.oracle.bmc.opsi.model
Class AwrDatabaseParameterChangeSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.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 theAwrDatabaseParameterChangeSummary.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 theAwrDatabaseParameterChangeSummary.Builder
, which maintain a set of all explicitly set fields calledAwrDatabaseParameterChangeSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AwrDatabaseParameterChangeSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwrDatabaseParameterChangeSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getInstanceNumber()
The database instance number.Boolean
getIsDefault()
Indicates whether the parameter value in the end snapshot is the default.String
getPreviousValue()
The previous value of the database parameter.Integer
getSnapshotIdentifier()
The ID of the snapshot with the parameter value changed.Date
getTimeBegin()
The start time of the interval.Date
getTimeEnd()
The end time of the interval.String
getValue()
The current value of the database parameter.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 startupint
hashCode()
AwrDatabaseParameterChangeSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
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
-
builder
public static AwrDatabaseParameterChangeSummary.Builder builder()
Create a new builder.
-
toBuilder
public AwrDatabaseParameterChangeSummary.Builder toBuilder()
-
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 classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-