Class RecommendationProperties
java.lang.Object
com.azure.resourcemanager.advisor.fluent.models.RecommendationProperties
The properties of the recommendation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RecommendationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionactions()
Get the actions property: The list of recommended actions to implement recommendation.category()
Get the category property: The category of the recommendation.Get the description property: The detailed description of recommendation.Get the exposedMetadataProperties property: The recommendation metadata properties exposed to customer to provide additional information.Get the extendedProperties property: Extended properties.impact()
Get the impact property: The business impact of the recommendation.Get the impactedField property: The resource type identified by Advisor.Get the impactedValue property: The resource identified by Advisor.label()
Get the label property: The label of recommendation.Get the lastUpdated property: The most recent time that Advisor checked the validity of the recommendation.Get the learnMoreLink property: The link to learn more about recommendation and generation logic.metadata()
Get the metadata property: The recommendation metadata.Get the potentialBenefits property: The potential benefit of implementing recommendation.Get the recommendationTypeId property: The recommendation-type GUID.Get the remediation property: The automated way to apply recommendation.Get the resourceMetadata property: Metadata of resource that was assessed.Get the shortDescription property: A summary of the recommendation.Get the suppressionIds property: The list of snoozed and dismissed rules for the recommendation.void
validate()
Validates the instance.withActions
(List<Map<String, Object>> actions) Set the actions property: The list of recommended actions to implement recommendation.withCategory
(Category category) Set the category property: The category of the recommendation.withDescription
(String description) Set the description property: The detailed description of recommendation.withExposedMetadataProperties
(Map<String, Object> exposedMetadataProperties) Set the exposedMetadataProperties property: The recommendation metadata properties exposed to customer to provide additional information.withExtendedProperties
(Map<String, String> extendedProperties) Set the extendedProperties property: Extended properties.withImpact
(Impact impact) Set the impact property: The business impact of the recommendation.withImpactedField
(String impactedField) Set the impactedField property: The resource type identified by Advisor.withImpactedValue
(String impactedValue) Set the impactedValue property: The resource identified by Advisor.Set the label property: The label of recommendation.withLastUpdated
(OffsetDateTime lastUpdated) Set the lastUpdated property: The most recent time that Advisor checked the validity of the recommendation.withLearnMoreLink
(String learnMoreLink) Set the learnMoreLink property: The link to learn more about recommendation and generation logic.withMetadata
(Map<String, Object> metadata) Set the metadata property: The recommendation metadata.withPotentialBenefits
(String potentialBenefits) Set the potentialBenefits property: The potential benefit of implementing recommendation.withRecommendationTypeId
(String recommendationTypeId) Set the recommendationTypeId property: The recommendation-type GUID.withRemediation
(Map<String, Object> remediation) Set the remediation property: The automated way to apply recommendation.withResourceMetadata
(ResourceMetadata resourceMetadata) Set the resourceMetadata property: Metadata of resource that was assessed.withShortDescription
(ShortDescription shortDescription) Set the shortDescription property: A summary of the recommendation.withSuppressionIds
(List<UUID> suppressionIds) Set the suppressionIds property: The list of snoozed and dismissed rules for the recommendation.
-
Constructor Details
-
RecommendationProperties
public RecommendationProperties()Creates an instance of RecommendationProperties class.
-
-
Method Details
-
category
Get the category property: The category of the recommendation.- Returns:
- the category value.
-
withCategory
Set the category property: The category of the recommendation.- Parameters:
category
- the category value to set.- Returns:
- the RecommendationProperties object itself.
-
impact
Get the impact property: The business impact of the recommendation.- Returns:
- the impact value.
-
withImpact
Set the impact property: The business impact of the recommendation.- Parameters:
impact
- the impact value to set.- Returns:
- the RecommendationProperties object itself.
-
impactedField
Get the impactedField property: The resource type identified by Advisor.- Returns:
- the impactedField value.
-
withImpactedField
Set the impactedField property: The resource type identified by Advisor.- Parameters:
impactedField
- the impactedField value to set.- Returns:
- the RecommendationProperties object itself.
-
impactedValue
Get the impactedValue property: The resource identified by Advisor.- Returns:
- the impactedValue value.
-
withImpactedValue
Set the impactedValue property: The resource identified by Advisor.- Parameters:
impactedValue
- the impactedValue value to set.- Returns:
- the RecommendationProperties object itself.
-
lastUpdated
Get the lastUpdated property: The most recent time that Advisor checked the validity of the recommendation.- Returns:
- the lastUpdated value.
-
withLastUpdated
Set the lastUpdated property: The most recent time that Advisor checked the validity of the recommendation.- Parameters:
lastUpdated
- the lastUpdated value to set.- Returns:
- the RecommendationProperties object itself.
-
metadata
Get the metadata property: The recommendation metadata.- Returns:
- the metadata value.
-
withMetadata
Set the metadata property: The recommendation metadata.- Parameters:
metadata
- the metadata value to set.- Returns:
- the RecommendationProperties object itself.
-
recommendationTypeId
Get the recommendationTypeId property: The recommendation-type GUID.- Returns:
- the recommendationTypeId value.
-
withRecommendationTypeId
Set the recommendationTypeId property: The recommendation-type GUID.- Parameters:
recommendationTypeId
- the recommendationTypeId value to set.- Returns:
- the RecommendationProperties object itself.
-
shortDescription
Get the shortDescription property: A summary of the recommendation.- Returns:
- the shortDescription value.
-
withShortDescription
Set the shortDescription property: A summary of the recommendation.- Parameters:
shortDescription
- the shortDescription value to set.- Returns:
- the RecommendationProperties object itself.
-
suppressionIds
Get the suppressionIds property: The list of snoozed and dismissed rules for the recommendation.- Returns:
- the suppressionIds value.
-
withSuppressionIds
Set the suppressionIds property: The list of snoozed and dismissed rules for the recommendation.- Parameters:
suppressionIds
- the suppressionIds value to set.- Returns:
- the RecommendationProperties object itself.
-
extendedProperties
Get the extendedProperties property: Extended properties.- Returns:
- the extendedProperties value.
-
withExtendedProperties
Set the extendedProperties property: Extended properties.- Parameters:
extendedProperties
- the extendedProperties value to set.- Returns:
- the RecommendationProperties object itself.
-
resourceMetadata
Get the resourceMetadata property: Metadata of resource that was assessed.- Returns:
- the resourceMetadata value.
-
withResourceMetadata
Set the resourceMetadata property: Metadata of resource that was assessed.- Parameters:
resourceMetadata
- the resourceMetadata value to set.- Returns:
- the RecommendationProperties object itself.
-
description
Get the description property: The detailed description of recommendation.- Returns:
- the description value.
-
withDescription
Set the description property: The detailed description of recommendation.- Parameters:
description
- the description value to set.- Returns:
- the RecommendationProperties object itself.
-
label
Get the label property: The label of recommendation.- Returns:
- the label value.
-
withLabel
Set the label property: The label of recommendation.- Parameters:
label
- the label value to set.- Returns:
- the RecommendationProperties object itself.
-
learnMoreLink
Get the learnMoreLink property: The link to learn more about recommendation and generation logic.- Returns:
- the learnMoreLink value.
-
withLearnMoreLink
Set the learnMoreLink property: The link to learn more about recommendation and generation logic.- Parameters:
learnMoreLink
- the learnMoreLink value to set.- Returns:
- the RecommendationProperties object itself.
-
potentialBenefits
Get the potentialBenefits property: The potential benefit of implementing recommendation.- Returns:
- the potentialBenefits value.
-
withPotentialBenefits
Set the potentialBenefits property: The potential benefit of implementing recommendation.- Parameters:
potentialBenefits
- the potentialBenefits value to set.- Returns:
- the RecommendationProperties object itself.
-
actions
Get the actions property: The list of recommended actions to implement recommendation.- Returns:
- the actions value.
-
withActions
Set the actions property: The list of recommended actions to implement recommendation.- Parameters:
actions
- the actions value to set.- Returns:
- the RecommendationProperties object itself.
-
remediation
Get the remediation property: The automated way to apply recommendation.- Returns:
- the remediation value.
-
withRemediation
Set the remediation property: The automated way to apply recommendation.- Parameters:
remediation
- the remediation value to set.- Returns:
- the RecommendationProperties object itself.
-
exposedMetadataProperties
Get the exposedMetadataProperties property: The recommendation metadata properties exposed to customer to provide additional information.- Returns:
- the exposedMetadataProperties value.
-
withExposedMetadataProperties
public RecommendationProperties withExposedMetadataProperties(Map<String, Object> exposedMetadataProperties) Set the exposedMetadataProperties property: The recommendation metadata properties exposed to customer to provide additional information.- Parameters:
exposedMetadataProperties
- the exposedMetadataProperties value to set.- Returns:
- the RecommendationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-