All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.datahub.client.impl.request.CreateAlarmRuleRequest Maven / Gradle / Ivy

There is a newer version: 2.25.6
Show newest version
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