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

com.aliyun.datahub.client.impl.request.HeartbeatRequest 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 HeartbeatRequest extends BaseRequest {
    @JsonProperty("ConsumerId")
    private String consumerId;

    @JsonProperty("VersionId")
    private long versionId;

    @JsonProperty("HoldShardList")
    private List holdShardList;
    
    @JsonProperty("ReadEndShardList")
    private List readEndShardList;

    public HeartbeatRequest() {
        setAction("heartbeat");
    }

    public String getConsumerId() {
        return consumerId;
    }

    public HeartbeatRequest setConsumerId(String consumerId) {
        this.consumerId = consumerId;
        return this;
    }

    public long getVersionId() {
        return versionId;
    }

    public HeartbeatRequest setVersionId(long versionId) {
        this.versionId = versionId;
        return this;
    }

    public List getHoldShardList() {
        return holdShardList;
    }

    public HeartbeatRequest setHoldShardList(List holdShardList) {
        this.holdShardList = holdShardList;
        return this;
    }

    public List getReadEndShardList() {
        return readEndShardList;
    }

    public HeartbeatRequest setReadEndShardList(List readEndShardList) {
        this.readEndShardList = readEndShardList;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy