com.volcengine.tos.model.bucket.NotificationDestination Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ve-tos-java-sdk Show documentation
Show all versions of ve-tos-java-sdk Show documentation
The VolcEngine TOS SDK for Java
package com.volcengine.tos.model.bucket;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
public class NotificationDestination {
@JsonProperty("RocketMQ")
private List rocketMQ;
@JsonProperty("VeFaaS")
private List veFaaS;
public List getRocketMQ() {
return rocketMQ;
}
public NotificationDestination setRocketMQ(List rocketMQ) {
this.rocketMQ = rocketMQ;
return this;
}
public List getVeFaaS() {
return veFaaS;
}
public NotificationDestination setVeFaaS(List veFaaS) {
this.veFaaS = veFaaS;
return this;
}
@Override
public String toString() {
return "NotificationDestination{" +
"rocketMQ=" + rocketMQ +
", veFaaS=" + veFaaS +
'}';
}
public static NotificationDestinationBuilder builder() {
return new NotificationDestinationBuilder();
}
public static final class NotificationDestinationBuilder {
private List rocketMQ;
private List veFaaS;
private NotificationDestinationBuilder() {
}
public NotificationDestinationBuilder rocketMQ(List rocketMQ) {
this.rocketMQ = rocketMQ;
return this;
}
public NotificationDestinationBuilder veFaaS(List veFaaS) {
this.veFaaS = veFaaS;
return this;
}
public NotificationDestination build() {
NotificationDestination notificationDestination = new NotificationDestination();
notificationDestination.setRocketMQ(rocketMQ);
notificationDestination.setVeFaaS(veFaaS);
return notificationDestination;
}
}
}