@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AddmDbRecommendationsTimeSeriesSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
ADDM recommendation
Note: Objects should always be created or deserialized using the AddmDbRecommendationsTimeSeriesSummary.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 AddmDbRecommendationsTimeSeriesSummary.Builder
, which maintain a
set of all explicitly set fields called AddmDbRecommendationsTimeSeriesSummary.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 |
AddmDbRecommendationsTimeSeriesSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AddmDbRecommendationsTimeSeriesSummary(String id,
Integer taskId,
String taskName,
Date timestamp,
Date timeAnalysisStarted,
Date timeAnalysisEnded,
String type,
Double analysisDbTimeInSecs,
Double analysisAvgActiveSessions,
Double maxBenefitPercent,
Double maxBenefitDbTimeInSecs,
Double maxBenefitAvgActiveSessions,
RelatedObjectTypeDetails relatedObject)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AddmDbRecommendationsTimeSeriesSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Double |
getAnalysisAvgActiveSessions()
DB avg active sessions for the snapshot
|
Double |
getAnalysisDbTimeInSecs()
DB time in seconds for the snapshot
|
String |
getId()
The OCID of
the Database insight.
|
Double |
getMaxBenefitAvgActiveSessions()
Maximum estimated benefit in terms of average active sessions
|
Double |
getMaxBenefitDbTimeInSecs()
Maximum estimated benefit in terms of seconds
|
Double |
getMaxBenefitPercent()
Maximum estimated benefit in terms of percentage of total activity
|
RelatedObjectTypeDetails |
getRelatedObject() |
Integer |
getTaskId()
Unique ADDM task id
|
String |
getTaskName()
ADDM task name
|
Date |
getTimeAnalysisEnded()
End Timestamp of snapshot
|
Date |
getTimeAnalysisStarted()
Start Timestamp of snapshot
|
Date |
getTimestamp()
Timestamp when recommendation was generated
|
String |
getType()
Type of recommendation
|
int |
hashCode() |
AddmDbRecommendationsTimeSeriesSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","taskId","taskName","timestamp","timeAnalysisStarted","timeAnalysisEnded","type","analysisDbTimeInSecs","analysisAvgActiveSessions","maxBenefitPercent","maxBenefitDbTimeInSecs","maxBenefitAvgActiveSessions","relatedObject"}) public AddmDbRecommendationsTimeSeriesSummary(String id, Integer taskId, String taskName, Date timestamp, Date timeAnalysisStarted, Date timeAnalysisEnded, String type, Double analysisDbTimeInSecs, Double analysisAvgActiveSessions, Double maxBenefitPercent, Double maxBenefitDbTimeInSecs, Double maxBenefitAvgActiveSessions, RelatedObjectTypeDetails relatedObject)
public static AddmDbRecommendationsTimeSeriesSummary.Builder builder()
Create a new builder.
public AddmDbRecommendationsTimeSeriesSummary.Builder toBuilder()
public Integer getTaskId()
Unique ADDM task id
public String getTaskName()
ADDM task name
public Date getTimestamp()
Timestamp when recommendation was generated
public Date getTimeAnalysisStarted()
Start Timestamp of snapshot
public Date getTimeAnalysisEnded()
End Timestamp of snapshot
public String getType()
Type of recommendation
public Double getAnalysisDbTimeInSecs()
DB time in seconds for the snapshot
public Double getAnalysisAvgActiveSessions()
DB avg active sessions for the snapshot
public Double getMaxBenefitPercent()
Maximum estimated benefit in terms of percentage of total activity
public Double getMaxBenefitDbTimeInSecs()
Maximum estimated benefit in terms of seconds
public Double getMaxBenefitAvgActiveSessions()
Maximum estimated benefit in terms of average active sessions
public RelatedObjectTypeDetails getRelatedObject()
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.