com.aliyun.eventbridge.models.CreateTargetsRequest 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 request of create Targets
*/
public class CreateTargetsRequest extends TeaModel {
@NameInMap("EventBusName")
@Validation(required = true)
public String eventBusName;
@NameInMap("RuleName")
@Validation(required = true)
public String ruleName;
@NameInMap("Targets")
@Validation(required = true)
public java.util.List targets;
public static CreateTargetsRequest build(java.util.Map map) {
CreateTargetsRequest self = new CreateTargetsRequest();
return TeaModel.build(map, self);
}
public CreateTargetsRequest setEventBusName(String eventBusName) {
this.eventBusName = eventBusName;
return this;
}
public String getEventBusName() {
return this.eventBusName;
}
public CreateTargetsRequest setRuleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
public String getRuleName() {
return this.ruleName;
}
public CreateTargetsRequest setTargets(java.util.List targets) {
this.targets = targets;
return this;
}
public java.util.List getTargets() {
return this.targets;
}
}