Skip to content

AlertTemplatesProperty

Initializer

import com.aliyun.ros.cdk.cms.RosMetricRuleTemplate.AlertTemplatesProperty;
AlertTemplatesProperty.builder()
    .category(java.lang.String)
    .category(IResolvable)
    .metricName(java.lang.String)
    .metricName(IResolvable)
    .namespace(java.lang.String)
    .namespace(IResolvable)
    .ruleName(java.lang.String)
    .ruleName(IResolvable)
//  .escalations(IResolvable)
//  .escalations(EscalationsProperty)
//  .period(java.lang.Number)
//  .period(IResolvable)
//  .selector(java.lang.String)
//  .selector(IResolvable)
//  .webhook(java.lang.String)
//  .webhook(IResolvable)
    .build();

Properties

Name Type Description
category java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
metricName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
namespace java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ruleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
escalations com.aliyun.ros.cdk.core.IResolvable OR EscalationsProperty No description.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
selector java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
webhook java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.

categoryRequired

public java.lang.Object getCategory();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

metricNameRequired

public java.lang.Object getMetricName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

namespaceRequired

public java.lang.Object getNamespace();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

ruleNameRequired

public java.lang.Object getRuleName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

escalationsOptional

public java.lang.Object getEscalations();

periodOptional

public java.lang.Object getPeriod();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

selectorOptional

public java.lang.Object getSelector();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

webhookOptional

public java.lang.Object getWebhook();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable