Package com.oracle.bmc.opsi.model
Class AddmDbRecommendationsTimeSeriesSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.AddmDbRecommendationsTimeSeriesSummary
-
@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 theAddmDbRecommendationsTimeSeriesSummary.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 calledAddmDbRecommendationsTimeSeriesSummary.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
AddmDbRecommendationsTimeSeriesSummary.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddmDbRecommendationsTimeSeriesSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
Double
getAnalysisAvgActiveSessions()
DB avg active sessions for the snapshotDouble
getAnalysisDbTimeInSecs()
DB time in seconds for the snapshotString
getId()
The OCID of the Database insight.Double
getMaxBenefitAvgActiveSessions()
Maximum estimated benefit in terms of average active sessionsDouble
getMaxBenefitDbTimeInSecs()
Maximum estimated benefit in terms of secondsDouble
getMaxBenefitPercent()
Maximum estimated benefit in terms of percentage of total activityRelatedObjectTypeDetails
getRelatedObject()
Integer
getTaskId()
Unique ADDM task idString
getTaskName()
ADDM task nameDate
getTimeAnalysisEnded()
End Timestamp of snapshotDate
getTimeAnalysisStarted()
Start Timestamp of snapshotDate
getTimestamp()
Timestamp when recommendation was generatedString
getType()
Type of recommendationint
hashCode()
AddmDbRecommendationsTimeSeriesSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
AddmDbRecommendationsTimeSeriesSummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static AddmDbRecommendationsTimeSeriesSummary.Builder builder()
Create a new builder.
-
toBuilder
public AddmDbRecommendationsTimeSeriesSummary.Builder toBuilder()
-
getTaskId
public Integer getTaskId()
Unique ADDM task id- Returns:
- the value
-
getTaskName
public String getTaskName()
ADDM task name- Returns:
- the value
-
getTimestamp
public Date getTimestamp()
Timestamp when recommendation was generated- Returns:
- the value
-
getTimeAnalysisStarted
public Date getTimeAnalysisStarted()
Start Timestamp of snapshot- Returns:
- the value
-
getTimeAnalysisEnded
public Date getTimeAnalysisEnded()
End Timestamp of snapshot- Returns:
- the value
-
getType
public String getType()
Type of recommendation- Returns:
- the value
-
getAnalysisDbTimeInSecs
public Double getAnalysisDbTimeInSecs()
DB time in seconds for the snapshot- Returns:
- the value
-
getAnalysisAvgActiveSessions
public Double getAnalysisAvgActiveSessions()
DB avg active sessions for the snapshot- Returns:
- the value
-
getMaxBenefitPercent
public Double getMaxBenefitPercent()
Maximum estimated benefit in terms of percentage of total activity- Returns:
- the value
-
getMaxBenefitDbTimeInSecs
public Double getMaxBenefitDbTimeInSecs()
Maximum estimated benefit in terms of seconds- Returns:
- the value
-
getMaxBenefitAvgActiveSessions
public Double getMaxBenefitAvgActiveSessions()
Maximum estimated benefit in terms of average active sessions- Returns:
- the value
-
getRelatedObject
public RelatedObjectTypeDetails getRelatedObject()
-
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
-
-