com.aliyun.datahub.client.model.SubReadDelayAlarmRule Maven / Gradle / Ivy
The newest version!
package com.aliyun.datahub.client.model;
public class SubReadDelayAlarmRule extends AlarmRule {
private String subId;
private Integer delaySecond;
public SubReadDelayAlarmRule() {
super(AlarmType.USER_SUB_READ_DELAY);
}
public String getSubId() {
return subId;
}
public void setSubId(String subId) {
this.subId = subId;
}
public Integer getDelaySecond() {
return delaySecond;
}
public void setDelaySecond(Integer delaySecond) {
this.delaySecond = delaySecond;
}
@Override
public String getExtraResource() { return getSubId(); }
@Override
public String getExtraResourceName() { return "SubId"; }
}