com.aliyun.datahub.client.impl.request.SyncGroupRequest Maven / Gradle / Ivy
The newest version!
package com.aliyun.datahub.client.impl.request;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
public class SyncGroupRequest extends BaseRequest {
@JsonProperty("ConsumerId")
private String consumerId;
@JsonProperty("VersionId")
private long versionId;
@JsonProperty("ReleaseShardList")
private List releaseShardList;
@JsonProperty("ReadEndShardList")
private List readEndShardList;
public SyncGroupRequest() {
setAction("syncGroup");
}
public String getConsumerId() {
return consumerId;
}
public SyncGroupRequest setConsumerId(String consumerId) {
this.consumerId = consumerId;
return this;
}
public long getVersionId() {
return versionId;
}
public SyncGroupRequest setVersionId(long versionId) {
this.versionId = versionId;
return this;
}
public List getReleaseShardList() {
return releaseShardList;
}
public SyncGroupRequest setReleaseShardList(List releaseShardList) {
this.releaseShardList = releaseShardList;
return this;
}
public List getReadEndShardList() {
return readEndShardList;
}
public SyncGroupRequest setReadEndShardList(List readEndShardList) {
this.readEndShardList = readEndShardList;
return this;
}
}