com.aliyun.datahub.client.impl.request.CreateAlarmRuleRequest Maven / Gradle / Ivy
package com.aliyun.datahub.client.impl.request;
import com.aliyun.datahub.client.model.AlarmRule;
import com.aliyun.datahub.client.model.AlarmType;
import com.fasterxml.jackson.annotation.JsonProperty;
public class CreateAlarmRuleRequest extends BaseRequest {
@JsonProperty("AlarmType")
private AlarmType alarmType;
@JsonProperty("Uid")
private String uid;
@JsonProperty("Rule")
private AlarmRule rule;
public CreateAlarmRuleRequest() {
setAction("create");
}
public AlarmType getAlarmType() {
return alarmType;
}
public CreateAlarmRuleRequest setAlarmType(AlarmType alarmType) {
this.alarmType = alarmType;
return this;
}
public String getUid() {
return uid;
}
public CreateAlarmRuleRequest setUid(String uid) {
this.uid = uid;
return this;
}
public AlarmRule getRule() {
return rule;
}
public CreateAlarmRuleRequest setRule(AlarmRule rule) {
this.rule = rule;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy