com.aliyun.datahub.client.impl.request.UpdateTopicRequest Maven / Gradle / Ivy
The newest version!
package com.aliyun.datahub.client.impl.request;
import com.aliyun.datahub.client.impl.serializer.UpdateTopicRequestSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
@JsonSerialize(using = UpdateTopicRequestSerializer.class)
public class UpdateTopicRequest {
private int lifeCycle = -1;
private String comment;
private Boolean enableSchemaRegistry = null;
public int getLifeCycle() {
return lifeCycle;
}
public UpdateTopicRequest setLifeCycle(int lifeCycle) {
this.lifeCycle = lifeCycle;
return this;
}
public String getComment() {
return comment;
}
public UpdateTopicRequest setComment(String comment) {
this.comment = comment;
return this;
}
public Boolean getEnableSchemaRegistry() {
return enableSchemaRegistry;
}
public UpdateTopicRequest setEnableSchemaRegistry(Boolean enableSchemaRegistry) {
this.enableSchemaRegistry = enableSchemaRegistry;
return this;
}
}