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

com.volcengine.tos.model.bucket.NotificationDestination Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy