public final class RecommendationRuleProperties extends Object
| Constructor and Description |
|---|
RecommendationRuleProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
actionName()
Get the actionName property: Name of action that is recommended by this rule in string.
|
String |
bladeName()
Get the bladeName property: Deep link to a blade on the portal.
|
List<String> |
categoryTags()
Get the categoryTags property: The list of category tags that this recommendation rule belongs to.
|
Channels |
channels()
Get the channels property: List of available channels that this rule applies.
|
String |
description()
Get the description property: Localized detailed description of the rule.
|
String |
displayName()
Get the displayName property: UI friendly name of the rule.
|
String |
extensionName()
Get the extensionName property: Extension name of the portal if exists.
|
String |
forwardLink()
Get the forwardLink property: Forward link to an external document associated with the rule.
|
Boolean |
isDynamic()
Get the isDynamic property: True if this is associated with a dynamically added rule.
|
NotificationLevel |
level()
Get the level property: Level of impact indicating how critical this rule is.
|
String |
message()
Get the message property: Localized name of the rule (Good for UI).
|
UUID |
recommendationId()
Get the recommendationId property: Recommendation ID of an associated recommendation object tied to the rule, if
exists.
|
String |
recommendationName()
Get the recommendationName property: Unique name of the rule.
|
void |
validate()
Validates the instance.
|
RecommendationRuleProperties |
withActionName(String actionName)
Set the actionName property: Name of action that is recommended by this rule in string.
|
RecommendationRuleProperties |
withBladeName(String bladeName)
Set the bladeName property: Deep link to a blade on the portal.
|
RecommendationRuleProperties |
withChannels(Channels channels)
Set the channels property: List of available channels that this rule applies.
|
RecommendationRuleProperties |
withDescription(String description)
Set the description property: Localized detailed description of the rule.
|
RecommendationRuleProperties |
withDisplayName(String displayName)
Set the displayName property: UI friendly name of the rule.
|
RecommendationRuleProperties |
withExtensionName(String extensionName)
Set the extensionName property: Extension name of the portal if exists.
|
RecommendationRuleProperties |
withForwardLink(String forwardLink)
Set the forwardLink property: Forward link to an external document associated with the rule.
|
RecommendationRuleProperties |
withIsDynamic(Boolean isDynamic)
Set the isDynamic property: True if this is associated with a dynamically added rule.
|
RecommendationRuleProperties |
withLevel(NotificationLevel level)
Set the level property: Level of impact indicating how critical this rule is.
|
RecommendationRuleProperties |
withMessage(String message)
Set the message property: Localized name of the rule (Good for UI).
|
RecommendationRuleProperties |
withRecommendationId(UUID recommendationId)
Set the recommendationId property: Recommendation ID of an associated recommendation object tied to the rule, if
exists.
|
RecommendationRuleProperties |
withRecommendationName(String recommendationName)
Set the recommendationName property: Unique name of the rule.
|
public String recommendationName()
public RecommendationRuleProperties withRecommendationName(String recommendationName)
recommendationName - the recommendationName value to set.public String displayName()
public RecommendationRuleProperties withDisplayName(String displayName)
displayName - the displayName value to set.public String message()
public RecommendationRuleProperties withMessage(String message)
message - the message value to set.public UUID recommendationId()
public RecommendationRuleProperties withRecommendationId(UUID recommendationId)
recommendationId - the recommendationId value to set.public String description()
public RecommendationRuleProperties withDescription(String description)
description - the description value to set.public String actionName()
public RecommendationRuleProperties withActionName(String actionName)
actionName - the actionName value to set.public NotificationLevel level()
public RecommendationRuleProperties withLevel(NotificationLevel level)
level - the level value to set.public Channels channels()
public RecommendationRuleProperties withChannels(Channels channels)
channels - the channels value to set.public List<String> categoryTags()
public Boolean isDynamic()
public RecommendationRuleProperties withIsDynamic(Boolean isDynamic)
isDynamic - the isDynamic value to set.public String extensionName()
public RecommendationRuleProperties withExtensionName(String extensionName)
extensionName - the extensionName value to set.public String bladeName()
public RecommendationRuleProperties withBladeName(String bladeName)
bladeName - the bladeName value to set.public String forwardLink()
public RecommendationRuleProperties withForwardLink(String forwardLink)
forwardLink - the forwardLink value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.