Class RecommendationDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20190325")
    public final class RecommendationDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Details of a recommendation.
    Note: Objects should always be created or deserialized using the RecommendationDetails.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 RecommendationDetails.Builder, which maintain a set of all explicitly set fields called RecommendationDetails.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).
    • Method Detail

      • getRecommendationKey

        public String getRecommendationKey()
        Unique identifier of the recommendation.
        Returns:
        the value
      • getRecommendationType

        public RecommendationType getRecommendationType()
        Type of recommendation.
        Returns:
        the value
      • getRecommendationStatus

        public RecommendationStatus getRecommendationStatus()
        Status of a recommendation.
        Returns:
        the value
      • getConfidenceScore

        public Float getConfidenceScore()
        Level of confidence, on a scale between 0 and 1, that the recommendation is applicable.
        Returns:
        the value
      • getSourceObjectKey

        public String getSourceObjectKey()
        Unique identifier of the source object; the one for which a recommendation is made.
        Returns:
        the value
      • getSourceObjectName

        public String getSourceObjectName()
        Name of the source object; the one for which a recommendation is made.
        Returns:
        the value
      • getSourceObjectType

        public RecommendationResourceType getSourceObjectType()
        Type of the source object; the one for which a recommendation is made.
        Returns:
        the value
      • getTargetObjectKey

        public String getTargetObjectKey()
        Unique identifier of the target object; the one which has been recommended.
        Returns:
        the value
      • getTargetObjectName

        public String getTargetObjectName()
        Name of the target object; the one which has been recommended.
        Returns:
        the value
      • getTargetObjectType

        public RecommendationResourceType getTargetObjectType()
        Type of the target object; the one which has been recommended.
        Returns:
        the value
      • getProperties

        public Map<String,​Map<String,​String>> getProperties()
        A map of maps that contains additional properties which are specific to the associated objects.

        Each associated object defines it’s set of required and optional properties. Example: { “DataEntity”: { “parentId”: “entityId” }, “Term”: { “parentId”: “glossaryId” } }

        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