Class AwrDbParameterChangeSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.AwrDbParameterChangeSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class AwrDbParameterChangeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA summary of the changes made to a single AWR database parameter.
Note: Objects should always be created or deserialized using theAwrDbParameterChangeSummary.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 theAwrDbParameterChangeSummary.Builder, which maintain a set of all explicitly set fields calledAwrDbParameterChangeSummary.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 classAwrDbParameterChangeSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwrDbParameterChangeSummary.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetInstanceNumber()The database instance number.BooleangetIsDefault()Indicates whether the parameter value in the end snapshot is the default.StringgetPreviousValue()The previous value of the database parameter.IntegergetSnapshotId()The ID of the snapshot with the parameter value changed.DategetTimeBegin()The start time of the interval.DategetTimeEnd()The end time of the interval.StringgetValue()The current value of the database parameter.StringgetValueModified()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\u2019 values to be modified) - FALSE - Parameter has not been modified after instance startupinthashCode()AwrDbParameterChangeSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
AwrDbParameterChangeSummary
@Deprecated @ConstructorProperties({"timeBegin","timeEnd","instanceNumber","previousValue","value","snapshotId","valueModified","isDefault"}) public AwrDbParameterChangeSummary(Date timeBegin, Date timeEnd, Integer instanceNumber, String previousValue, String value, Integer snapshotId, String valueModified, Boolean isDefault)
Deprecated.
-
-
Method Detail
-
builder
public static AwrDbParameterChangeSummary.Builder builder()
Create a new builder.
-
toBuilder
public AwrDbParameterChangeSummary.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
-
getSnapshotId
public Integer getSnapshotId()
The ID of the snapshot with the parameter value changed.The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots
- 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\u2019 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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-