Package com.oracle.bmc.datacatalog.model
Class RecommendationDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datacatalog.model.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 theRecommendationDetails.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 theRecommendationDetails.Builder
, which maintain a set of all explicitly set fields calledRecommendationDetails.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
RecommendationDetails.Builder
-
Constructor Summary
Constructors Constructor Description RecommendationDetails(String recommendationKey, RecommendationType recommendationType, RecommendationStatus recommendationStatus, Float confidenceScore, String sourceObjectKey, String sourceObjectName, RecommendationResourceType sourceObjectType, String targetObjectKey, String targetObjectName, RecommendationResourceType targetObjectType, Map<String,Map<String,String>> properties)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecommendationDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
Float
getConfidenceScore()
Level of confidence, on a scale between 0 and 1, that the recommendation is applicable.Map<String,Map<String,String>>
getProperties()
A map of maps that contains additional properties which are specific to the associated objects.String
getRecommendationKey()
Unique identifier of the recommendation.RecommendationStatus
getRecommendationStatus()
Status of a recommendation.RecommendationType
getRecommendationType()
Type of recommendation.String
getSourceObjectKey()
Unique identifier of the source object; the one for which a recommendation is made.String
getSourceObjectName()
Name of the source object; the one for which a recommendation is made.RecommendationResourceType
getSourceObjectType()
Type of the source object; the one for which a recommendation is made.String
getTargetObjectKey()
Unique identifier of the target object; the one which has been recommended.String
getTargetObjectName()
Name of the target object; the one which has been recommended.RecommendationResourceType
getTargetObjectType()
Type of the target object; the one which has been recommended.int
hashCode()
RecommendationDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
RecommendationDetails
@Deprecated @ConstructorProperties({"recommendationKey","recommendationType","recommendationStatus","confidenceScore","sourceObjectKey","sourceObjectName","sourceObjectType","targetObjectKey","targetObjectName","targetObjectType","properties"}) public RecommendationDetails(String recommendationKey, RecommendationType recommendationType, RecommendationStatus recommendationStatus, Float confidenceScore, String sourceObjectKey, String sourceObjectName, RecommendationResourceType sourceObjectType, String targetObjectKey, String targetObjectName, RecommendationResourceType targetObjectType, Map<String,Map<String,String>> properties)
Deprecated.
-
-
Method Detail
-
builder
public static RecommendationDetails.Builder builder()
Create a new builder.
-
toBuilder
public RecommendationDetails.Builder toBuilder()
-
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 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
-
-