@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
).
Modifier and Type | Class and Description |
---|---|
static class |
AwrDatabaseParameterChangeSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AwrDatabaseParameterChangeSummary(Date timeBegin,
Date timeEnd,
Integer instanceNumber,
String previousValue,
String value,
Integer snapshotIdentifier,
String valueModified,
Boolean isDefault)
Deprecated.
|
Modifier and Type | Method and 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 startup
|
int |
hashCode() |
AwrDatabaseParameterChangeSummary.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","snapshotIdentifier","valueModified","isDefault"}) public AwrDatabaseParameterChangeSummary(Date timeBegin, Date timeEnd, Integer instanceNumber, String previousValue, String value, Integer snapshotIdentifier, String valueModified, Boolean isDefault)
public static AwrDatabaseParameterChangeSummary.Builder builder()
Create a new builder.
public AwrDatabaseParameterChangeSummary.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 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
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–2024. All rights reserved.