Class 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 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).

    • 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

      • getId

        public String getId()
        The OCID of the Database insight.
        Returns:
        the value
      • 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
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel