tech.ydb.topic.settings.DescribeTopicSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-sdk-topic Show documentation
Show all versions of ydb-sdk-topic Show documentation
Topic client implementation
The 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);
}
}
}