@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class AwrDbParameterChangeSummary 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 AwrDbParameterChangeSummary.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 AwrDbParameterChangeSummary.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AwrDbParameterChangeSummary.Builder |
Constructor and Description |
---|
AwrDbParameterChangeSummary(Date timeBegin,
Date timeEnd,
Integer instanceNumber,
String previousValue,
String value,
Integer snapshotId,
String valueModified,
Boolean isDefault)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AwrDbParameterChangeSummary.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 |
getSnapshotId()
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 startup
|
int |
hashCode() |
AwrDbParameterChangeSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static AwrDbParameterChangeSummary.Builder builder()
Create a new builder.
public AwrDbParameterChangeSummary.Builder toBuilder()
public Date getTimeBegin()
The start time of the interval.
public Date getTimeEnd()
The end time of the interval.
public Integer getInstanceNumber()
The database instance number.
public String getPreviousValue()
The previous value of the database parameter.
public String getValue()
The current value of the database parameter.
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
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
public Boolean getIsDefault()
Indicates whether the parameter value in the end snapshot is the default.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.