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

tech.ydb.topic.settings.DescribeTopicSettings Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
package tech.ydb.topic.settings;

import tech.ydb.core.settings.OperationSettings;

/**
 * @author Nikolay Perfilov
 */
public class DescribeTopicSettings extends OperationSettings {
    /* TODO: renew api and add stats
    private boolean includeStats = false;

    public DescribeTopicSettings(boolean includeStats) {
        this.includeStats = includeStats;
    }

    public void setIncludeStats(boolean includeStats) {
        this.includeStats = includeStats;
    }

    public boolean getIncludeStats() {
        return includeStats;
    }*/

    private DescribeTopicSettings(Builder builder) {
        super(builder);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public static class Builder extends OperationBuilder {
        @Override
        public DescribeTopicSettings build() {
            return new DescribeTopicSettings(this);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy