Package com.oracle.bmc.cloudguard.model
Class RecommendationSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.cloudguard.model.RecommendationSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class RecommendationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelRecommendation definition.
 Note: Objects should always be created or deserialized using theRecommendationSummary.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 theRecommendationSummary.Builder, which maintain a set of all explicitly set fields calledRecommendationSummary.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 SummaryNested Classes Modifier and Type Class Description static classRecommendationSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description RecommendationSummary(String id, RecommendationType type, String tenantId, String compartmentId, String targetId, Map<String,String> details, RiskLevel riskLevel, Long problemCount, LifecycleState lifecycleState, RecommendationLifecycleDetail lifecycleDetail, Date timeCreated, Date timeUpdated, String name, String description)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecommendationSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()Compartment OCIDStringgetDescription()Description of the recommendationMap<String,String>getDetails()Recommendation detailsStringgetId()Unique identifier for the recommendationRecommendationLifecycleDetailgetLifecycleDetail()Additional details on the substate of the lifecycle stateLifecycleStategetLifecycleState()The current lifecycle state of the recommendationStringgetName()Recommendation string that appears in the UI for the problemLonggetProblemCount()Count number of the problemRiskLevelgetRiskLevel()The risk level of the problemStringgetTargetId()Target ID associated with the problemStringgetTenantId()Tenant identifierDategetTimeCreated()The date and time the problem was first createdDategetTimeUpdated()The date and time the problem was last updatedRecommendationTypegetType()Recommendation typeinthashCode()RecommendationSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
RecommendationSummary@Deprecated @ConstructorProperties({"id","type","tenantId","compartmentId","targetId","details","riskLevel","problemCount","lifecycleState","lifecycleDetail","timeCreated","timeUpdated","name","description"}) public RecommendationSummary(String id, RecommendationType type, String tenantId, String compartmentId, String targetId, Map<String,String> details, RiskLevel riskLevel, Long problemCount, LifecycleState lifecycleState, RecommendationLifecycleDetail lifecycleDetail, Date timeCreated, Date timeUpdated, String name, String description) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static RecommendationSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic RecommendationSummary.Builder toBuilder() 
 - 
getIdpublic String getId() Unique identifier for the recommendation- Returns:
- the value
 
 - 
getTypepublic RecommendationType getType() Recommendation type- Returns:
- the value
 
 - 
getTenantIdpublic String getTenantId() Tenant identifier- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() Compartment OCID- Returns:
- the value
 
 - 
getTargetIdpublic String getTargetId() Target ID associated with the problem- Returns:
- the value
 
 - 
getRiskLevelpublic RiskLevel getRiskLevel() The risk level of the problem- Returns:
- the value
 
 - 
getProblemCountpublic Long getProblemCount() Count number of the problem- Returns:
- the value
 
 - 
getLifecycleStatepublic LifecycleState getLifecycleState() The current lifecycle state of the recommendation- Returns:
- the value
 
 - 
getLifecycleDetailpublic RecommendationLifecycleDetail getLifecycleDetail() Additional details on the substate of the lifecycle state- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The date and time the problem was first created- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The date and time the problem was last updated- Returns:
- the value
 
 - 
getNamepublic String getName() Recommendation string that appears in the UI for the problem- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Description of the recommendation- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-