com.aliyun.eventbridge.models.GetRuleRequest 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.eventbridge.models;
import com.aliyun.tea.*;
/**
* The request of Get EventBus
*/
public class GetRuleRequest extends TeaModel {
@NameInMap("EventBusName")
@Validation(required = true)
public String eventBusName;
@NameInMap("RuleName")
@Validation(required = true)
public String ruleName;
public static GetRuleRequest build(java.util.Map map) {
GetRuleRequest self = new GetRuleRequest();
return TeaModel.build(map, self);
}
public GetRuleRequest setEventBusName(String eventBusName) {
this.eventBusName = eventBusName;
return this;
}
public String getEventBusName() {
return this.eventBusName;
}
public GetRuleRequest setRuleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
public String getRuleName() {
return this.ruleName;
}
}