public final class RecommendationRuleInner extends ProxyOnlyResource
| Constructor and Description |
|---|
RecommendationRuleInner() |
| 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.
|
RecommendationRuleInner |
withActionName(String actionName)
Set the actionName property: Name of action that is recommended by this rule in string.
|
RecommendationRuleInner |
withBladeName(String bladeName)
Set the bladeName property: Deep link to a blade on the portal.
|
RecommendationRuleInner |
withChannels(Channels channels)
Set the channels property: List of available channels that this rule applies.
|
RecommendationRuleInner |
withDescription(String description)
Set the description property: Localized detailed description of the rule.
|
RecommendationRuleInner |
withDisplayName(String displayName)
Set the displayName property: UI friendly name of the rule.
|
RecommendationRuleInner |
withExtensionName(String extensionName)
Set the extensionName property: Extension name of the portal if exists.
|
RecommendationRuleInner |
withForwardLink(String forwardLink)
Set the forwardLink property: Forward link to an external document associated with the rule.
|
RecommendationRuleInner |
withIsDynamic(Boolean isDynamic)
Set the isDynamic property: True if this is associated with a dynamically added rule.
|
RecommendationRuleInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
RecommendationRuleInner |
withLevel(NotificationLevel level)
Set the level property: Level of impact indicating how critical this rule is.
|
RecommendationRuleInner |
withMessage(String message)
Set the message property: Localized name of the rule (Good for UI).
|
RecommendationRuleInner |
withRecommendationId(UUID recommendationId)
Set the recommendationId property: Recommendation ID of an associated recommendation object tied to the rule, if
exists.
|
RecommendationRuleInner |
withRecommendationName(String recommendationName)
Set the recommendationName property: Unique name of the rule.
|
kindpublic RecommendationRuleInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public String recommendationName()
public RecommendationRuleInner withRecommendationName(String recommendationName)
recommendationName - the recommendationName value to set.public String displayName()
public RecommendationRuleInner withDisplayName(String displayName)
displayName - the displayName value to set.public String message()
public RecommendationRuleInner withMessage(String message)
message - the message value to set.public UUID recommendationId()
public RecommendationRuleInner withRecommendationId(UUID recommendationId)
recommendationId - the recommendationId value to set.public String description()
public RecommendationRuleInner withDescription(String description)
description - the description value to set.public String actionName()
public RecommendationRuleInner withActionName(String actionName)
actionName - the actionName value to set.public NotificationLevel level()
public RecommendationRuleInner withLevel(NotificationLevel level)
level - the level value to set.public Channels channels()
public RecommendationRuleInner withChannels(Channels channels)
channels - the channels value to set.public List<String> categoryTags()
public Boolean isDynamic()
public RecommendationRuleInner withIsDynamic(Boolean isDynamic)
isDynamic - the isDynamic value to set.public String extensionName()
public RecommendationRuleInner withExtensionName(String extensionName)
extensionName - the extensionName value to set.public String bladeName()
public RecommendationRuleInner withBladeName(String bladeName)
bladeName - the bladeName value to set.public String forwardLink()
public RecommendationRuleInner withForwardLink(String forwardLink)
forwardLink - the forwardLink value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.