com.aliyun.eventbridge.models.EventRuleDTO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eventbridge-client Show documentation
Show all versions of eventbridge-client Show documentation
Alibaba Cloud eventbridge SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.eventbridge.models;
import com.aliyun.tea.*;
/**
* The detail of EventBuses rule
*/
public class EventRuleDTO extends TeaModel {
@NameInMap("RuleARN")
@Validation(required = true)
public String ruleARN;
@NameInMap("EventBusName")
@Validation(required = true)
public String eventBusName;
@NameInMap("RuleName")
@Validation(required = true)
public String ruleName;
@NameInMap("Description")
@Validation(required = true)
public String description;
@NameInMap("Status")
@Validation(required = true)
public String status;
@NameInMap("FilterPattern")
@Validation(required = true)
public String filterPattern;
@NameInMap("Targets")
@Validation(required = true)
public java.util.List targets;
@NameInMap("Ctime")
@Validation(required = true)
public Long ctime;
@NameInMap("Mtime")
@Validation(required = true)
public Long mtime;
@NameInMap("Tags")
public java.util.Map tags;
public static EventRuleDTO build(java.util.Map map) {
EventRuleDTO self = new EventRuleDTO();
return TeaModel.build(map, self);
}
public EventRuleDTO setRuleARN(String ruleARN) {
this.ruleARN = ruleARN;
return this;
}
public String getRuleARN() {
return this.ruleARN;
}
public EventRuleDTO setEventBusName(String eventBusName) {
this.eventBusName = eventBusName;
return this;
}
public String getEventBusName() {
return this.eventBusName;
}
public EventRuleDTO setRuleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
public String getRuleName() {
return this.ruleName;
}
public EventRuleDTO setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public EventRuleDTO setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public EventRuleDTO setFilterPattern(String filterPattern) {
this.filterPattern = filterPattern;
return this;
}
public String getFilterPattern() {
return this.filterPattern;
}
public EventRuleDTO setTargets(java.util.List targets) {
this.targets = targets;
return this;
}
public java.util.List getTargets() {
return this.targets;
}
public EventRuleDTO setCtime(Long ctime) {
this.ctime = ctime;
return this;
}
public Long getCtime() {
return this.ctime;
}
public EventRuleDTO setMtime(Long mtime) {
this.mtime = mtime;
return this;
}
public Long getMtime() {
return this.mtime;
}
public EventRuleDTO setTags(java.util.Map tags) {
this.tags = tags;
return this;
}
public java.util.Map getTags() {
return this.tags;
}
}