@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class RecommendationDetails extends ExplicitlySetBmcModel
Details of a recommendation.
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
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
RecommendationDetails.Builder |
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static RecommendationDetails.Builder builder()
Create a new builder.
public RecommendationDetails.Builder toBuilder()
public String getRecommendationKey()
Unique identifier of the recommendation.
public RecommendationType getRecommendationType()
Type of recommendation.
public RecommendationStatus getRecommendationStatus()
Status of a recommendation.
public Float getConfidenceScore()
Level of confidence, on a scale between 0 and 1, that the recommendation is applicable.
public String getSourceObjectKey()
Unique identifier of the source object; the one for which a recommendation is made.
public String getSourceObjectName()
Name of the source object; the one for which a recommendation is made.
public RecommendationResourceType getSourceObjectType()
Type of the source object; the one for which a recommendation is made.
public String getTargetObjectKey()
Unique identifier of the target object; the one which has been recommended.
public String getTargetObjectName()
Name of the target object; the one which has been recommended.
public RecommendationResourceType getTargetObjectType()
Type of the target object; the one which has been recommended.
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”
}
}
public String toString()
toString
in class 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 ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.